Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001365/0.001365, allocations: 84.12 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00152/0.00152, allocations: 165.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.436/1.436, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 1.191/1.191, allocations: 154.6 MB / 413.8 MB, free: 5.238 MB / 382.1 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 178] 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.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.778e-05, allocations: 6.219 kB / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001836/0.001864, allocations: 0.6401 MB / 0.6192 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.00368, allocations: 1.205 MB / 0.6204 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.003735, allocations: 0 / 0.6204 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.003767, allocations: 6.5 kB / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.132e-05/0.003848, allocations: 15.91 kB / 0.6204 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007747/0.004623, allocations: 224.9 kB / 0.6206 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.00491, allocations: 168.5 kB / 0.6208 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.005003, allocations: 13.3 kB / 0.6208 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.005167, allocations: 87.94 kB / 0.6209 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.005304, allocations: 51.84 kB / 0.6209 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/0.00535, allocations: 16 kB / 0.6209 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-05/0.005439, allocations: 29.55 kB / 0.621 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.00546, allocations: 7.984 kB / 0.621 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.863e-05/0.005549, allocations: 55.89 kB / 0.621 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.005846, allocations: 187.5 kB / 0.6212 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.00585, allocations: 4.906 kB / 0.6212 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005851, allocations: 0 / 0.6212 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.00586, allocations: 0 / 0.6212 GB, free: 1.875 MB / 0.5294 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.0005775/0.006437, allocations: 364.1 kB / 0.6216 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.006476, allocations: 8.031 kB / 0.6216 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.175e-05/0.006558, allocations: 12.89 kB / 0.6216 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.006678, allocations: 113.7 kB / 0.6217 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.006694, allocations: 4.375 kB / 0.6217 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.006737, allocations: 16.36 kB / 0.6217 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.006854, allocations: 50.25 kB / 0.6218 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.006862, allocations: 192 / 0.6218 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.006872, allocations: 384 / 0.6218 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.006876, allocations: 384 / 0.6218 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.848e-05/0.006925, allocations: 23.86 kB / 0.6218 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.007396, allocations: 268.5 kB / 0.622 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.685e-05/0.007483, allocations: 38.56 kB / 0.6221 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.007515, allocations: 16.94 kB / 0.6221 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.007527, allocations: 0 / 0.6221 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.007712, allocations: 83.25 kB / 0.6222 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.007713, allocations: 4 kB / 0.6222 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0002743/0.007987, allocations: 105.6 kB / 0.6223 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.008034, allocations: 55.41 kB / 0.6223 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.008152, allocations: 117.8 kB / 0.6224 GB, free: 476 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.008192, allocations: 33.7 kB / 0.6225 GB, free: 436 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.008269, allocations: 92.09 kB / 0.6226 GB, free: 340 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.008288, allocations: 15.84 kB / 0.6226 GB, free: 324 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.008398, allocations: 49.62 kB / 0.6226 GB, free: 268 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.008576, allocations: 322.8 kB / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.008772, allocations: 123.4 kB / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.008975, allocations: 147.7 kB / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.009211, allocations: 168 kB / 0.6233 GB, free: 15.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.009213, allocations: 4 kB / 0.6234 GB, free: 15.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000533/0.009746, allocations: 320.2 kB / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.308e-05/0.009809, allocations: 71.33 kB / 0.6237 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.009817, allocations: 4 kB / 0.6237 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.009832, allocations: 4.125 kB / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.424e-05/0.009856, allocations: 7.938 kB / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.009861, allocations: 0 / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.01023, allocations: 55.89 kB / 0.6238 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.01027, allocations: 11.98 kB / 0.6238 GB, free: 14.93 MB / 0.545 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 0.0001256/0.01039, allocations: 123.7 kB / 0.6239 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.01042, allocations: 11.88 kB / 0.6239 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.01045, allocations: 16.44 kB / 0.624 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01045, allocations: 0 / 0.624 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.01045, allocations: 0 / 0.624 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01046, allocations: 0 / 0.624 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.01059, allocations: 121.3 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.0106, allocations: 4.062 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.121e-05/0.01061, allocations: 3.984 kB / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01061, allocations: 3.938 kB / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.01062, allocations: 4 kB / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01062, allocations: 0 / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01062, allocations: 3.938 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.01079, allocations: 109.1 kB / 0.6242 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.0108, allocations: 8 kB / 0.6242 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.01082, allocations: 3.938 kB / 0.6242 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.058e-05/0.01084, allocations: 0 / 0.6242 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.01088, allocations: 7.984 kB / 0.6242 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.01089, allocations: 4 kB / 0.6242 GB, free: 14.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.735e-05/0.01096, allocations: 95.2 kB / 0.6243 GB, free: 14.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01096, allocations: 0 / 0.6243 GB, free: 14.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002561/0.01122, allocations: 31.94 kB / 0.6243 GB, free: 14.33 MB / 0.545 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 0.0001665/0.01138, allocations: 107.2 kB / 0.6244 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000416/0.0118, allocations: 282.1 kB / 0.6247 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.0118, allocations: 0 / 0.6247 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.165e-05/0.01185, allocations: 23.98 kB / 0.6247 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.01209, allocations: 15.98 kB / 0.6247 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.01249, allocations: 157.3 kB / 0.6249 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.462e-05/0.01255, allocations: 71.59 kB / 0.625 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.808e-05/0.01258, allocations: 7.984 kB / 0.625 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.0126, allocations: 12.5 kB / 0.625 GB, free: 13.57 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.01261, allocations: 0 / 0.625 GB, free: 13.57 MB / 0.545 GB Notification: Performance of Templates: time 0.005556/0.01816, allocations: 2.039 MB / 0.627 GB, free: 11.6 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.683163166046143] Failed to read output from testmodel.py, exit status != 0: 0.02714274823665619 0.04282803 0.033797962 Calling exit ...