Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.0009346/0.0009346, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009602/0.0009602, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 18.57 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.8988/0.8988, allocations: 177.1 MB / 203.4 MB, free: 5.164 MB / 186.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-545:108: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-545:116: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.7594/0.7594, allocations: 154.6 MB / 414.5 MB, free: 0.6211 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.821e-05, allocations: 5.266 kB / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.00108/0.001098, allocations: 0.595 MB / 0.5209 GB, free: 1.637 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.002139, allocations: 1.166 MB / 0.522 GB, free: 472 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.58e-05/0.002175, allocations: 0 / 0.522 GB, free: 472 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.002202, allocations: 3.984 kB / 0.522 GB, free: 468 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.886e-05/0.002261, allocations: 7.938 kB / 0.522 GB, free: 460 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.002609, allocations: 125.1 kB / 0.5221 GB, free: 336 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.002733, allocations: 91.83 kB / 0.5222 GB, free: 244 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.347e-05/0.002806, allocations: 3.125 kB / 0.5222 GB, free: 244 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.601e-05/0.002882, allocations: 55.89 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.413e-05/0.002956, allocations: 23.95 kB / 0.5223 GB, free: 164 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.002976, allocations: 8 kB / 0.5223 GB, free: 156 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.194e-05/0.003028, allocations: 23.98 kB / 0.5223 GB, free: 132 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.003043, allocations: 0 / 0.5223 GB, free: 132 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.003083, allocations: 27.91 kB / 0.5224 GB, free: 104 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.003212, allocations: 83.77 kB / 0.5224 GB, free: 20 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.003213, allocations: 0.5 kB / 0.5224 GB, free: 20 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003214, allocations: 0 / 0.5224 GB, free: 20 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.003218, allocations: 4.875 kB / 0.5224 GB, free: 16 kB / 490.7 MB 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.0003576/0.003576, allocations: 394.3 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.003614, allocations: 12.75 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.003658, allocations: 8.938 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.246e-05/0.003731, allocations: 117.5 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.003747, allocations: 384 / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.003762, allocations: 13.33 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.395e-05/0.003835, allocations: 50.89 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.003841, allocations: 192 / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.003849, allocations: 1.156 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.003854, allocations: 384 / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.003879, allocations: 16.84 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.004153, allocations: 279.8 kB / 0.5233 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.588e-05/0.004198, allocations: 27.56 kB / 0.5233 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.004216, allocations: 16.77 kB / 0.5233 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-06/0.004221, allocations: 0 / 0.5233 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.484e-05/0.004296, allocations: 72.98 kB / 0.5234 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.004297, allocations: 1.219 kB / 0.5234 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.000151/0.004448, allocations: 69.56 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.004479, allocations: 59.41 kB / 0.5235 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.245e-05/0.004552, allocations: 170.5 kB / 0.5237 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.004573, allocations: 25.7 kB / 0.5237 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.00462, allocations: 136.5 kB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.004632, allocations: 7.953 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.004676, allocations: 35.36 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/0.004772, allocations: 0.4884 MB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.767e-05/0.00483, allocations: 54.75 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.066e-05/0.00489, allocations: 92.67 kB / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.774e-05/0.004958, allocations: 81.59 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.00496, allocations: 1.25 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004178/0.005378, allocations: 177 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.005403, allocations: 45.62 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.005408, allocations: 0.75 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.005418, allocations: 3.938 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.288e-05/0.005461, allocations: 4.562 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.005465, allocations: 0.9062 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.005574, allocations: 20.55 kB / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.005587, allocations: 7.984 kB / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.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.661e-05/0.005654, allocations: 161.1 kB / 0.525 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.005662, allocations: 8.766 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.005681, allocations: 7.938 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.005683, allocations: 3.094 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.005686, allocations: 3.938 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005689, allocations: 0 / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.416e-05/0.005753, allocations: 120.6 kB / 0.5251 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005754, allocations: 0 / 0.5251 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-06/0.005763, allocations: 4 kB / 0.5251 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.005765, allocations: 0 / 0.5251 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.005773, allocations: 3.984 kB / 0.5251 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.005775, allocations: 5.656 kB / 0.5251 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.005778, allocations: 7.938 kB / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.867e-05/0.005867, allocations: 92.44 kB / 0.5252 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-06/0.005874, allocations: 3.953 kB / 0.5252 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.005883, allocations: 0 / 0.5252 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.899e-06/0.005893, allocations: 13.33 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.005918, allocations: 0 / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.005921, allocations: 0 / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.36e-05/0.005955, allocations: 135.2 kB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005955, allocations: 2.75 kB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001308/0.006086, allocations: 15.94 kB / 0.5254 GB, free: 12.66 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,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 8.857e-05/0.006175, allocations: 99.25 kB / 0.5255 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.006324, allocations: 148.7 kB / 0.5256 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.006325, allocations: 0 / 0.5256 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.195e-05/0.006347, allocations: 18.31 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.006484, allocations: 7.984 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002119/0.006696, allocations: 142.1 kB / 0.5258 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.832e-05/0.006724, allocations: 60.16 kB / 0.5259 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.505e-05/0.006739, allocations: 0 / 0.5259 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.736e-05/0.006756, allocations: 13.34 kB / 0.5259 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.006757, allocations: 0 / 0.5259 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.002753/0.00951, allocations: 1.291 MB / 0.5271 GB, free: 10.89 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.471733370795846]