Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.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.0007806/0.0007806, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.0007915/0.0007915, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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.8719/0.8719, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5709/0.5709, allocations: 114 MB / 374.7 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.5554 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.747e-05, allocations: 5.891 kB / 0.5554 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.001535/0.001563, allocations: 0.729 MB / 0.5562 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.002669, allocations: 1.159 MB / 0.5573 GB, free: 372 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.002713, allocations: 0 / 0.5573 GB, free: 372 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.002741, allocations: 3.938 kB / 0.5573 GB, free: 368 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.534e-05/0.002806, allocations: 19.86 kB / 0.5573 GB, free: 348 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.003189, allocations: 138.9 kB / 0.5574 GB, free: 212 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.003326, allocations: 111.8 kB / 0.5575 GB, free: 100 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.624e-05/0.003422, allocations: 11.98 kB / 0.5576 GB, free: 88 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 9.958e-05/0.003522, allocations: 63.94 kB / 0.5576 GB, free: 24 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.435e-05/0.003606, allocations: 35.89 kB / 0.5576 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.003628, allocations: 12 kB / 0.5577 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.333e-05/0.003681, allocations: 27.97 kB / 0.5577 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.003702, allocations: 15.98 kB / 0.5577 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.003745, allocations: 27.92 kB / 0.5577 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.00391, allocations: 135.6 kB / 0.5579 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003913, allocations: 0 / 0.5579 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003914, allocations: 0 / 0.5579 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.003918, allocations: 0 / 0.5579 GB, free: 15.77 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004401/0.004358, allocations: 331.8 kB / 0.5582 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.004391, allocations: 8.031 kB / 0.5582 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.004435, allocations: 12.89 kB / 0.5582 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.149e-05/0.004517, allocations: 113.7 kB / 0.5583 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.00453, allocations: 8.375 kB / 0.5583 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.004547, allocations: 12.36 kB / 0.5583 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.004676, allocations: 66.22 kB / 0.5584 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.004684, allocations: 4.172 kB / 0.5584 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.004694, allocations: 384 / 0.5584 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.004698, allocations: 384 / 0.5584 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.29e-05/0.004791, allocations: 43.84 kB / 0.5584 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.005132, allocations: 256.5 kB / 0.5587 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.00526, allocations: 58.61 kB / 0.5587 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.539e-05/0.005315, allocations: 32.91 kB / 0.5588 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.00533, allocations: 0 / 0.5588 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.005487, allocations: 91.3 kB / 0.5589 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.005488, allocations: 0 / 0.5589 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0002897/0.005778, allocations: 149.6 kB / 0.559 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.005818, allocations: 59.33 kB / 0.5591 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.557e-05/0.005893, allocations: 121.8 kB / 0.5592 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.005915, allocations: 33.7 kB / 0.5592 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.006259, allocations: 96.03 kB / 0.5593 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.006275, allocations: 11.89 kB / 0.5593 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.006331, allocations: 37.7 kB / 0.5593 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.006406, allocations: 322.8 kB / 0.5596 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.006508, allocations: 81.66 kB / 0.5597 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.006611, allocations: 122 kB / 0.5598 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.006757, allocations: 142.2 kB / 0.56 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006759, allocations: 0 / 0.56 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002545/0.007014, allocations: 248.8 kB / 0.5602 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.007044, allocations: 41.69 kB / 0.5603 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.007048, allocations: 0 / 0.5603 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.007061, allocations: 4 kB / 0.5603 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.716e-05/0.007118, allocations: 7.984 kB / 0.5603 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.007123, allocations: 4 kB / 0.5603 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.676e-05/0.00722, allocations: 32.09 kB / 0.5603 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.007235, allocations: 15.98 kB / 0.5603 GB, free: 13.01 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.957e-05/0.007305, allocations: 117.8 kB / 0.5604 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.007313, allocations: 11.89 kB / 0.5604 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.256e-05/0.007336, allocations: 12.44 kB / 0.5605 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.007337, allocations: 0 / 0.5605 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.007343, allocations: 4.047 kB / 0.5605 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.007349, allocations: 4 kB / 0.5605 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.00762, allocations: 322 kB / 0.5608 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.007621, allocations: 0 / 0.5608 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/0.007647, allocations: 12 kB / 0.5608 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007648, allocations: 3.938 kB / 0.5608 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.007656, allocations: 3.984 kB / 0.5608 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.007657, allocations: 0 / 0.5608 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007658, allocations: 0 / 0.5608 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.007809, allocations: 207.4 kB / 0.561 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.007818, allocations: 7.953 kB / 0.561 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.00783, allocations: 7.938 kB / 0.561 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.029e-05/0.00787, allocations: 11.98 kB / 0.561 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.007906, allocations: 7.984 kB / 0.561 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.007911, allocations: 0 / 0.561 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.422e-05/0.007945, allocations: 94.44 kB / 0.5611 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.007945, allocations: 0 / 0.5611 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001653/0.008111, allocations: 28 kB / 0.5611 GB, free: 12.11 MB / 0.5261 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001101/0.008221, allocations: 95.25 kB / 0.5612 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.008456, allocations: 197 kB / 0.5614 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.008459, allocations: 7.938 kB / 0.5614 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.167e-05/0.00852, allocations: 39.91 kB / 0.5615 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.008708, allocations: 15.92 kB / 0.5615 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.008991, allocations: 185.4 kB / 0.5616 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.624e-05/0.009038, allocations: 75.58 kB / 0.5617 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.009062, allocations: 16.5 kB / 0.5617 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of SimCode: time 4.11e-07/0.009063, allocations: 0 / 0.5617 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of Templates: time 0.001967/0.01103, allocations: 1.282 MB / 0.563 GB, free: 10.14 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.66807191260159] Failed to read output from testmodel.py, exit status != 0: 0.016585618257522583 0.023833256 0.018403197 Calling exit ...