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.0008122/0.0008122, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008718/0.0008718, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8493/0.8493, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.5474/0.5474, allocations: 114 MB / 373.9 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.198e-05, allocations: 5.562 kB / 0.5542 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.001547/0.001569, allocations: 0.7266 MB / 0.5549 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.00274, allocations: 1.162 MB / 0.556 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.002783, allocations: 0 / 0.556 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.002812, allocations: 3.938 kB / 0.556 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.423e-05/0.002876, allocations: 15.86 kB / 0.5561 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.003276, allocations: 138.7 kB / 0.5562 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.003422, allocations: 111.8 kB / 0.5563 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.408e-05/0.003516, allocations: 19.97 kB / 0.5563 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 9.916e-05/0.003615, allocations: 63.89 kB / 0.5564 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.003693, allocations: 31.94 kB / 0.5564 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.003714, allocations: 12 kB / 0.5564 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.477e-05/0.003769, allocations: 23.98 kB / 0.5564 GB, free: 492 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.00379, allocations: 11.94 kB / 0.5565 GB, free: 480 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.003839, allocations: 31.95 kB / 0.5565 GB, free: 448 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.004015, allocations: 131.6 kB / 0.5566 GB, free: 316 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.004018, allocations: 4 kB / 0.5566 GB, free: 312 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.833e-06/0.00402, allocations: 0 / 0.5566 GB, free: 312 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.004025, allocations: 0 / 0.5566 GB, free: 312 kB / 0.5105 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.0005021/0.004527, allocations: 338.4 kB / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.004569, allocations: 12.62 kB / 0.557 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.755e-05/0.004597, allocations: 30.75 kB / 0.557 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.004646, allocations: 8.891 kB / 0.557 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.789e-05/0.004734, allocations: 117.7 kB / 0.5571 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.004747, allocations: 4.375 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.004764, allocations: 20.36 kB / 0.5571 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.004902, allocations: 62.17 kB / 0.5572 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.004911, allocations: 192 / 0.5572 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.004921, allocations: 4.375 kB / 0.5572 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.004926, allocations: 4.125 kB / 0.5572 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.754e-05/0.005024, allocations: 39.95 kB / 0.5572 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.005397, allocations: 283.8 kB / 0.5575 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.005521, allocations: 62.61 kB / 0.5576 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.82e-05/0.005579, allocations: 24.97 kB / 0.5576 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.005592, allocations: 7.938 kB / 0.5576 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.005758, allocations: 91.23 kB / 0.5577 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.005759, allocations: 0 / 0.5577 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0003118/0.006071, allocations: 149.6 kB / 0.5578 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.006102, allocations: 51.41 kB / 0.5579 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/0.006164, allocations: 117.8 kB / 0.558 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.006182, allocations: 25.7 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.006223, allocations: 96.08 kB / 0.5581 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.006241, allocations: 19.97 kB / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.267e-05/0.006294, allocations: 37.7 kB / 0.5582 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.006365, allocations: 322.8 kB / 0.5585 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.006476, allocations: 81.66 kB / 0.5585 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.006594, allocations: 125.3 kB / 0.5587 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.006751, allocations: 142.2 kB / 0.5588 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.006755, allocations: 4 kB / 0.5588 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002816/0.007037, allocations: 240.9 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.007069, allocations: 37.69 kB / 0.5591 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.007075, allocations: 0 / 0.5591 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.007088, allocations: 3.938 kB / 0.5591 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.312e-05/0.007151, allocations: 15.98 kB / 0.5591 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.007157, allocations: 4 kB / 0.5591 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.007267, allocations: 39.83 kB / 0.5591 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.007281, allocations: 8.094 kB / 0.5591 GB, free: 13.46 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 7.625e-05/0.007357, allocations: 121.8 kB / 0.5593 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.00737, allocations: 15.83 kB / 0.5593 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.007392, allocations: 8.438 kB / 0.5593 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.007396, allocations: 7.984 kB / 0.5593 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.0074, allocations: 0 / 0.5593 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.007403, allocations: 0 / 0.5593 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.007837, allocations: 333.5 kB / 0.5596 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.007839, allocations: 4 kB / 0.5596 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.007871, allocations: 19.92 kB / 0.5596 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.007873, allocations: 0 / 0.5596 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.007881, allocations: 0 / 0.5596 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.007883, allocations: 0 / 0.5596 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.007886, allocations: 12.05 kB / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.008049, allocations: 199.4 kB / 0.5598 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.00806, allocations: 7.953 kB / 0.5598 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.008073, allocations: 4 kB / 0.5598 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.453e-05/0.008118, allocations: 11.98 kB / 0.5598 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.008156, allocations: 11.97 kB / 0.5599 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.008162, allocations: 0 / 0.5599 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.008197, allocations: 95.27 kB / 0.5599 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.008197, allocations: 3.938 kB / 0.56 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001895/0.008386, allocations: 27.94 kB / 0.56 GB, free: 12.52 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.0004095/0.008796, allocations: 0.7475 MB / 0.5607 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002595/0.009055, allocations: 193 kB / 0.5609 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.009057, allocations: 0 / 0.5609 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.556e-05/0.009123, allocations: 35.91 kB / 0.5609 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.00934, allocations: 14.34 kB / 0.5609 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.01078, allocations: 1.824 MB / 0.5627 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.234e-05/0.01083, allocations: 75.33 kB / 0.5628 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.266e-05/0.01087, allocations: 7.984 kB / 0.5628 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.01091, allocations: 20.5 kB / 0.5628 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of SimCode: time 9.52e-07/0.01091, allocations: 0 / 0.5628 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.02721, allocations: 3.362 MB / 0.5661 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/6.934, allocations: 7.609 kB / 0.5661 GB, free: 6.207 MB / 0.5261 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.301114292815328] Failed to read output from testmodel.py, exit status != 0: 7.014509144239128 7.025800346 7.019584781 Calling exit ...