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.0007348/0.0007348, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.0007733/0.0007733, allocations: 216.2 kB / 23 MB, free: 2.98 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.8943/0.8943, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.735/0.735, allocations: 203.5 MB / 0.5046 GB, free: 10.66 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: translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [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.0008683/0.0008683, allocations: 66.69 kB / 0.719 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4539/0.4547, allocations: 102 MB / 0.8186 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001295/0.456, allocations: 0.5793 MB / 0.8191 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009002/0.4569, allocations: 1.137 MB / 0.8203 GB, free: 340 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.457, allocations: 1.531 kB / 0.8203 GB, free: 340 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.715e-05/0.457, allocations: 3.938 kB / 0.8203 GB, free: 336 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.814e-05/0.4571, allocations: 13.84 kB / 0.8203 GB, free: 324 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.4575, allocations: 122.6 kB / 0.8204 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.4576, allocations: 90.97 kB / 0.8205 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.908e-05/0.4577, allocations: 3.594 kB / 0.8205 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.868e-05/0.4577, allocations: 37.81 kB / 0.8205 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.208e-05/0.4578, allocations: 31.78 kB / 0.8206 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.4578, allocations: 10.34 kB / 0.8206 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.031e-05/0.4579, allocations: 14.27 kB / 0.8206 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.4579, allocations: 5.688 kB / 0.8206 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.4579, allocations: 36.78 kB / 0.8206 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.4581, allocations: 90.97 kB / 0.8207 GB, free: 140 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4581, allocations: 0 / 0.8207 GB, free: 140 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4581, allocations: 0 / 0.8207 GB, free: 140 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.4581, allocations: 0 / 0.8207 GB, free: 140 kB / 0.6042 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.000379/0.4585, allocations: 308 kB / 0.821 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.4585, allocations: 8.25 kB / 0.821 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.4586, allocations: 9.922 kB / 0.821 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.7e-05/0.4586, allocations: 110.7 kB / 0.8211 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.4587, allocations: 4.062 kB / 0.8211 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.4587, allocations: 8.469 kB / 0.8211 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.033e-05/0.4588, allocations: 37.95 kB / 0.8212 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.4588, allocations: 4.125 kB / 0.8212 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.4588, allocations: 3.938 kB / 0.8212 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4588, allocations: 0 / 0.8212 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.763e-05/0.4588, allocations: 15.23 kB / 0.8212 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.4591, allocations: 228.6 kB / 0.8214 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.57e-05/0.4592, allocations: 31.64 kB / 0.8214 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.4592, allocations: 15.8 kB / 0.8215 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.4592, allocations: 6.656 kB / 0.8215 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/0.4593, allocations: 62.48 kB / 0.8215 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.4593, allocations: 0 / 0.8215 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001697/0.4595, allocations: 64.69 kB / 0.8216 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.4595, allocations: 53.47 kB / 0.8216 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/0.4596, allocations: 116.7 kB / 0.8217 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.4596, allocations: 29.48 kB / 0.8218 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.4597, allocations: 84.84 kB / 0.8219 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.045e-05/0.4597, allocations: 14.88 kB / 0.8219 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.4597, allocations: 30.05 kB / 0.8219 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.4598, allocations: 317.8 kB / 0.8222 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.571e-05/0.4599, allocations: 61.59 kB / 0.8223 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.217e-05/0.46, allocations: 83.62 kB / 0.8223 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.835e-05/0.46, allocations: 82.16 kB / 0.8224 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.46, allocations: 0 / 0.8224 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000189/0.4602, allocations: 183.9 kB / 0.8226 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.4603, allocations: 37.62 kB / 0.8226 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4603, allocations: 1.25 kB / 0.8226 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4603, allocations: 7.875 kB / 0.8226 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.244e-05/0.4603, allocations: 8.547 kB / 0.8226 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4603, allocations: 1.609 kB / 0.8226 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.4605, allocations: 32.22 kB / 0.8227 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.4605, allocations: 8.094 kB / 0.8227 GB, free: 14.28 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.428e-05/0.4606, allocations: 113.6 kB / 0.8228 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-06/0.4606, allocations: 11.05 kB / 0.8228 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.4606, allocations: 8.125 kB / 0.8228 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.4606, allocations: 0 / 0.8228 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4606, allocations: 0.6562 kB / 0.8228 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4606, allocations: 3.938 kB / 0.8228 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.773e-05/0.4607, allocations: 106.7 kB / 0.8229 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4607, allocations: 2.406 kB / 0.8229 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.08e-05/0.4607, allocations: 7.734 kB / 0.8229 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.4607, allocations: 64 / 0.8229 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.4607, allocations: 4.656 kB / 0.8229 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.4607, allocations: 0 / 0.8229 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4607, allocations: 4.703 kB / 0.8229 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.282e-05/0.4608, allocations: 92.77 kB / 0.823 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-06/0.4608, allocations: 10.64 kB / 0.823 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.4608, allocations: 0.5156 kB / 0.823 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-06/0.4608, allocations: 2.031 kB / 0.823 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.4608, allocations: 4.938 kB / 0.823 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.4608, allocations: 0 / 0.823 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.4609, allocations: 87.03 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4609, allocations: 0 / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000143/0.461, allocations: 16.94 kB / 0.8231 GB, free: 13.84 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 9.941e-05/0.4611, allocations: 105.2 kB / 0.8232 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.4613, allocations: 143.8 kB / 0.8234 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4613, allocations: 0 / 0.8234 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.649e-05/0.4613, allocations: 9.969 kB / 0.8234 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.4615, allocations: 16.16 kB / 0.8234 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.4617, allocations: 164.3 kB / 0.8236 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.173e-05/0.4618, allocations: 63.77 kB / 0.8236 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.4618, allocations: 15.16 kB / 0.8236 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.4618, allocations: 0 / 0.8236 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.001983/0.4638, allocations: 0.942 MB / 0.8246 GB, free: 13.29 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.495023125782609] Failed to read output from testmodel.py, exit status != 0: 0.46854625968262553 0.47835334100000004 0.018452881 Calling exit ...