Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.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.00106/0.00106, allocations: 81.14 kB / 19.87 MB, free: 4.621 MB / 18.57 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.00104/0.00104, allocations: 173 kB / 23.27 MB, free: 1.227 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.96/0.96, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7656/0.7656, allocations: 154.9 MB / 415.1 MB, free: 272 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.5211 GB, free: 1.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.686e-05, allocations: 10.25 kB / 0.5211 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001129/0.001146, allocations: 0.6284 MB / 0.5218 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.002378, allocations: 1.24 MB / 0.523 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.002427, allocations: 0 / 0.523 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.002454, allocations: 3.938 kB / 0.523 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.501e-05/0.002529, allocations: 15.86 kB / 0.523 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.002997, allocations: 209.4 kB / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.003182, allocations: 171.7 kB / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.589e-05/0.003268, allocations: 12.47 kB / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.003383, allocations: 92.91 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.003502, allocations: 51.91 kB / 0.5235 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.003532, allocations: 16 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.907e-05/0.003601, allocations: 25.2 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.00363, allocations: 15.92 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.003687, allocations: 47.95 kB / 0.5236 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.003843, allocations: 140.2 kB / 0.5237 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003845, allocations: 0 / 0.5237 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.51e-07/0.003845, allocations: 1.531 kB / 0.5237 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.00385, allocations: 0 / 0.5237 GB, free: 14.94 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004105/0.00426, allocations: 463.9 kB / 0.5242 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.004304, allocations: 12.02 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.004347, allocations: 13.77 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.511e-05/0.004422, allocations: 108.6 kB / 0.5243 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.004435, allocations: 5.406 kB / 0.5243 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.004457, allocations: 20.36 kB / 0.5243 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.242e-05/0.00453, allocations: 38.23 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.004537, allocations: 1.281 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.004545, allocations: 8.312 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.004552, allocations: 384 / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.608e-05/0.004568, allocations: 12.84 kB / 0.5244 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.004877, allocations: 312.3 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.33e-05/0.00494, allocations: 35.58 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.004957, allocations: 16.41 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.004965, allocations: 3.938 kB / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.005065, allocations: 81.84 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.005066, allocations: 0.5 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.000166/0.005232, allocations: 97.55 kB / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.005267, allocations: 56.19 kB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.308e-05/0.00535, allocations: 173.9 kB / 0.5251 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.005371, allocations: 36.55 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.005434, allocations: 142.8 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.005446, allocations: 15.89 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.00551, allocations: 55.34 kB / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.00564, allocations: 0.4884 MB / 0.5258 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.36e-05/0.005724, allocations: 99.38 kB / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/0.005815, allocations: 145.8 kB / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.005928, allocations: 167.8 kB / 0.5262 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.005929, allocations: 0 / 0.5262 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002614/0.006191, allocations: 309.7 kB / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.948e-05/0.00623, allocations: 71.33 kB / 0.5266 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.006235, allocations: 1.438 kB / 0.5266 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.006247, allocations: 0 / 0.5266 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.425e-05/0.006262, allocations: 4 kB / 0.5266 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.006265, allocations: 0.9688 kB / 0.5266 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.006417, allocations: 41.94 kB / 0.5266 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.006438, allocations: 11.98 kB / 0.5267 GB, free: 11.63 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 8.254e-05/0.00652, allocations: 164.6 kB / 0.5268 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.006531, allocations: 11.94 kB / 0.5268 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.006558, allocations: 21.53 kB / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.00656, allocations: 0 / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.006562, allocations: 0 / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.006567, allocations: 0 / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.488e-05/0.006641, allocations: 112 kB / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.006642, allocations: 0 / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-06/0.006647, allocations: 4 kB / 0.527 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.006649, allocations: 0 / 0.527 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-06/0.006653, allocations: 0 / 0.527 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.006655, allocations: 3.984 kB / 0.527 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.006657, allocations: 4 kB / 0.527 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.375e-05/0.006751, allocations: 122.8 kB / 0.5271 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.006759, allocations: 7.953 kB / 0.5271 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-06/0.006767, allocations: 0 / 0.5271 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-06/0.006776, allocations: 0 / 0.5271 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.006809, allocations: 19.86 kB / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.006812, allocations: 0 / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.244e-05/0.006855, allocations: 135.1 kB / 0.5272 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.006855, allocations: 0.6562 kB / 0.5272 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001454/0.007, allocations: 32 kB / 0.5273 GB, free: 10.95 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.687e-05/0.007097, allocations: 96.25 kB / 0.5274 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.007309, allocations: 270.2 kB / 0.5276 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.007311, allocations: 0 / 0.5276 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.537e-05/0.007336, allocations: 27.66 kB / 0.5276 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.007483, allocations: 15.98 kB / 0.5277 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002296/0.007712, allocations: 166.6 kB / 0.5278 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.086e-05/0.007743, allocations: 59.34 kB / 0.5279 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.8e-05/0.007761, allocations: 10.78 kB / 0.5279 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.007867, allocations: 106.2 kB / 0.528 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.007868, allocations: 0 / 0.528 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.003543/0.01141, allocations: 2.218 MB / 0.5302 GB, free: 8.031 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.806342111900449]