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.001088/0.001088, allocations: 76.5 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.001259/0.001259, allocations: 170.3 kB / 23.2 MB, free: 1.359 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.8519/0.8519, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.5266/0.5266, allocations: 114 MB / 373.9 MB, free: 8.703 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 3.436e-06/3.436e-06, allocations: 0 / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.629e-05, allocations: 7.344 kB / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.001392/0.001418, allocations: 0.7164 MB / 0.5549 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.002523, allocations: 1.162 MB / 0.556 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.002568, allocations: 0 / 0.556 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.002595, allocations: 3.938 kB / 0.556 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.223e-05/0.002657, allocations: 15.88 kB / 0.5561 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.003044, allocations: 130.6 kB / 0.5562 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.00318, allocations: 123.7 kB / 0.5563 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.003276, allocations: 11.98 kB / 0.5563 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 9.44e-05/0.00337, allocations: 63.89 kB / 0.5564 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.31e-05/0.003443, allocations: 39.86 kB / 0.5564 GB, free: 500 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.003462, allocations: 8 kB / 0.5564 GB, free: 492 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.252e-05/0.003514, allocations: 27.98 kB / 0.5564 GB, free: 464 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.003533, allocations: 8 kB / 0.5565 GB, free: 456 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.003581, allocations: 39.89 kB / 0.5565 GB, free: 416 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.003729, allocations: 123.7 kB / 0.5566 GB, free: 292 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003732, allocations: 3.984 kB / 0.5566 GB, free: 288 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003733, allocations: 4 kB / 0.5566 GB, free: 284 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.003737, allocations: 0 / 0.5566 GB, free: 284 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.0004246/0.004161, allocations: 330 kB / 0.5569 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.004198, allocations: 15.95 kB / 0.5569 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.495e-05/0.004223, allocations: 34.75 kB / 0.557 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.004257, allocations: 16.89 kB / 0.557 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.959e-05/0.004336, allocations: 120.9 kB / 0.5571 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.004348, allocations: 4.375 kB / 0.5571 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.004364, allocations: 8.375 kB / 0.5571 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.004487, allocations: 62.22 kB / 0.5572 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.004493, allocations: 192 / 0.5572 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.004502, allocations: 4.375 kB / 0.5572 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.004507, allocations: 4.125 kB / 0.5572 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.345e-05/0.0046, allocations: 47.94 kB / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.004941, allocations: 279.8 kB / 0.5575 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.005054, allocations: 54.61 kB / 0.5576 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.445e-05/0.005108, allocations: 32.97 kB / 0.5576 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.005124, allocations: 3.938 kB / 0.5576 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.005285, allocations: 91.42 kB / 0.5577 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.005286, allocations: 7.938 kB / 0.5577 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0002783/0.005565, allocations: 141.6 kB / 0.5578 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.005601, allocations: 55.41 kB / 0.5579 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/0.005669, allocations: 121.8 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.005689, allocations: 33.7 kB / 0.558 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.005735, allocations: 92.09 kB / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.005756, allocations: 23.88 kB / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.005806, allocations: 33.7 kB / 0.5582 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.005891, allocations: 322.8 kB / 0.5585 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.005998, allocations: 77.67 kB / 0.5585 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.00612, allocations: 125.9 kB / 0.5587 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.006273, allocations: 137.9 kB / 0.5588 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.006275, allocations: 4 kB / 0.5588 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002687/0.006544, allocations: 236.8 kB / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.006576, allocations: 41.69 kB / 0.5591 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.006581, allocations: 0 / 0.5591 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.006596, allocations: 4 kB / 0.5591 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.477e-05/0.006661, allocations: 15.92 kB / 0.5591 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.006666, allocations: 0 / 0.5591 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.92e-05/0.006766, allocations: 36.03 kB / 0.5591 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.006781, allocations: 15.98 kB / 0.5591 GB, free: 13.43 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.415e-05/0.006845, allocations: 117.8 kB / 0.5592 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-06/0.006853, allocations: 7.891 kB / 0.5593 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/0.006874, allocations: 12.44 kB / 0.5593 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.006875, allocations: 0 / 0.5593 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.00688, allocations: 0 / 0.5593 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.006884, allocations: 11.92 kB / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.007162, allocations: 345.5 kB / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.007163, allocations: 0 / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.007186, allocations: 7.984 kB / 0.5596 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007188, allocations: 0 / 0.5596 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.007196, allocations: 4 kB / 0.5596 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.007199, allocations: 3.938 kB / 0.5596 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007199, allocations: 3.938 kB / 0.5596 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.007346, allocations: 211.4 kB / 0.5598 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.007353, allocations: 3.953 kB / 0.5598 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.007366, allocations: 4 kB / 0.5598 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.986e-05/0.007406, allocations: 7.984 kB / 0.5598 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.007437, allocations: 7.984 kB / 0.5599 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.007443, allocations: 8.062 kB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.209e-05/0.007476, allocations: 91.27 kB / 0.5599 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007476, allocations: 0 / 0.5599 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001665/0.007642, allocations: 23.94 kB / 0.56 GB, free: 12.5 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.0003596/0.008002, allocations: 0.7513 MB / 0.5607 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.008253, allocations: 193.5 kB / 0.5609 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.008255, allocations: 0 / 0.5609 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.93e-05/0.008314, allocations: 31.98 kB / 0.5609 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.008513, allocations: 18.89 kB / 0.5609 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.009848, allocations: 1.826 MB / 0.5627 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.635e-05/0.009895, allocations: 75.33 kB / 0.5628 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.451e-05/0.009919, allocations: 4 kB / 0.5628 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.00996, allocations: 28.42 kB / 0.5628 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.00996, allocations: 0 / 0.5628 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.02368, allocations: 3.357 MB / 0.5661 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.695/6.718, allocations: 0 / 0.5661 GB, free: 6.188 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.20224155113101] Failed to read output from testmodel.py, exit status != 0: 6.797844734042883 6.809932131 6.803871075 Calling exit ...