Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009572/0.0009572, allocations: 109.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 214.2 kB / 22.25 MB, free: 3.578 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.99/0.99, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7909/0.7909, allocations: 203.5 MB / 0.5039 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009219/0.0009219, allocations: 70.06 kB / 0.7178 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5265/0.5275, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001394/0.5289, allocations: 0.5892 MB / 0.8179 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009235/0.5298, allocations: 1.134 MB / 0.819 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.5298, allocations: 2 kB / 0.819 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.5299, allocations: 4.781 kB / 0.8191 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.22e-05/0.5299, allocations: 8.672 kB / 0.8191 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.5303, allocations: 124 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.5305, allocations: 88.22 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.835e-05/0.5306, allocations: 5.312 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.603e-05/0.5306, allocations: 38.97 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.457e-05/0.5307, allocations: 30.81 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.5307, allocations: 11.53 kB / 0.8193 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.516e-05/0.5308, allocations: 21.92 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.5308, allocations: 6.953 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.5309, allocations: 30.25 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.531, allocations: 85.25 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.531, allocations: 3.672 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.531, allocations: 0 / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.531, allocations: 4 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003711/0.5314, allocations: 308.6 kB / 0.8198 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.5314, allocations: 12.22 kB / 0.8198 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.297e-05/0.5315, allocations: 31.27 kB / 0.8198 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.5315, allocations: 3.812 kB / 0.8198 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.514e-05/0.5316, allocations: 114.4 kB / 0.8199 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.5316, allocations: 384 / 0.8199 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.5316, allocations: 5.547 kB / 0.8199 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.377e-05/0.5317, allocations: 41.09 kB / 0.82 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.5317, allocations: 7.875 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.5317, allocations: 0.6562 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.5317, allocations: 4 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.538e-05/0.5317, allocations: 11.7 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.532, allocations: 248.2 kB / 0.8202 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.948e-05/0.5321, allocations: 26.72 kB / 0.8203 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.5321, allocations: 14.27 kB / 0.8203 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.5321, allocations: 0.6562 kB / 0.8203 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/0.5322, allocations: 67.48 kB / 0.8203 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.5322, allocations: 0 / 0.8203 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001603/0.5324, allocations: 66.77 kB / 0.8204 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.5324, allocations: 60.02 kB / 0.8205 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.757e-05/0.5325, allocations: 114.4 kB / 0.8206 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.5325, allocations: 31.95 kB / 0.8206 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.5326, allocations: 92.33 kB / 0.8207 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/0.5326, allocations: 8.438 kB / 0.8207 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.5326, allocations: 28.64 kB / 0.8207 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.512e-05/0.5327, allocations: 319.9 kB / 0.821 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.977e-05/0.5328, allocations: 58.58 kB / 0.8211 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.142e-05/0.5328, allocations: 83.11 kB / 0.8212 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.849e-05/0.5329, allocations: 94.86 kB / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5329, allocations: 0 / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001807/0.5331, allocations: 179.3 kB / 0.8214 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.5331, allocations: 37.73 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5331, allocations: 2.219 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.5331, allocations: 1.281 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.192e-05/0.5332, allocations: 6.297 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5332, allocations: 1.312 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.5333, allocations: 33.41 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.5334, allocations: 5.484 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.181e-05/0.5334, allocations: 121.9 kB / 0.8216 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-06/0.5334, allocations: 2.844 kB / 0.8216 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.5334, allocations: 9.25 kB / 0.8216 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5334, allocations: 0 / 0.8216 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5334, allocations: 0 / 0.8216 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5335, allocations: 4.25 kB / 0.8216 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.963e-05/0.5335, allocations: 135.1 kB / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5335, allocations: 0.6094 kB / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.007e-05/0.5335, allocations: 5.156 kB / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5335, allocations: 0.7031 kB / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.5336, allocations: 4.75 kB / 0.8218 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.5336, allocations: 6.984 kB / 0.8218 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5336, allocations: 0 / 0.8218 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.309e-05/0.5336, allocations: 87.75 kB / 0.8219 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.5336, allocations: 2 kB / 0.8219 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.5337, allocations: 2.047 kB / 0.8219 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.5337, allocations: 4.703 kB / 0.8219 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.5337, allocations: 3.297 kB / 0.8219 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.5337, allocations: 2.859 kB / 0.8219 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.21e-05/0.5337, allocations: 87.48 kB / 0.822 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5337, allocations: 3.938 kB / 0.822 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001402/0.5339, allocations: 21.47 kB / 0.822 GB, free: 13.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002647/0.5341, allocations: 0.6292 MB / 0.8226 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.5343, allocations: 147 kB / 0.8228 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5343, allocations: 0 / 0.8228 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.228e-05/0.5343, allocations: 8.859 kB / 0.8228 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.5345, allocations: 17.02 kB / 0.8228 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.5355, allocations: 1.515 MB / 0.8243 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.59e-05/0.5356, allocations: 66.22 kB / 0.8243 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.11e-05/0.5356, allocations: 1.875 kB / 0.8243 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.5356, allocations: 17.84 kB / 0.8243 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of SimCode: time 2.8e-07/0.5356, allocations: 0 / 0.8243 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.5531, allocations: 2.612 MB / 0.8269 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.25/7.803, allocations: 8.422 kB / 0.8269 GB, free: 10.33 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.803684732876718] Failed to read output from testmodel.py, exit status != 0: 7.881400980986655 7.8932352 7.360117473 Calling exit ...