Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.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.0007522/0.0007522, 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.0009944/0.0009944, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.9092/0.9092, allocations: 177.1 MB / 203.5 MB, free: 5.707 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.5603/0.5603, allocations: 114 MB / 373.9 MB, free: 8.707 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.Integers.Validation.OnCounter,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.5542 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.879e-05, allocations: 9.609 kB / 0.5542 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001325/0.001344, allocations: 0.6606 MB / 0.5548 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.002565, allocations: 1.221 MB / 0.556 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.002606, allocations: 0 / 0.556 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.002635, allocations: 3.938 kB / 0.556 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.88e-05/0.002694, allocations: 7.922 kB / 0.556 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.00322, allocations: 228.4 kB / 0.5563 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.003452, allocations: 179.6 kB / 0.5564 GB, free: 460 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.003564, allocations: 11.92 kB / 0.5564 GB, free: 448 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.003677, allocations: 99.86 kB / 0.5565 GB, free: 348 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.003777, allocations: 55.84 kB / 0.5566 GB, free: 292 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.003801, allocations: 16 kB / 0.5566 GB, free: 276 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.83e-05/0.00386, allocations: 27.98 kB / 0.5566 GB, free: 248 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.00388, allocations: 11.98 kB / 0.5566 GB, free: 236 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.003937, allocations: 55.89 kB / 0.5567 GB, free: 180 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.004132, allocations: 183.6 kB / 0.5569 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.004134, allocations: 3.938 kB / 0.5569 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.62e-07/0.004135, allocations: 0 / 0.5569 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.004139, allocations: 0 / 0.5569 GB, free: 15.99 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004502/0.00459, allocations: 363.8 kB / 0.5572 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.004631, allocations: 12.03 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.954e-05/0.00466, allocations: 34.73 kB / 0.5573 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.004699, allocations: 8.938 kB / 0.5573 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.747e-05/0.004777, allocations: 117.7 kB / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.004797, allocations: 8.375 kB / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.004817, allocations: 12.38 kB / 0.5574 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.72e-05/0.004915, allocations: 57.92 kB / 0.5575 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.004923, allocations: 0 / 0.5575 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.00493, allocations: 0 / 0.5575 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004935, allocations: 0 / 0.5575 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.376e-05/0.004969, allocations: 23.91 kB / 0.5575 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.005404, allocations: 303.8 kB / 0.5578 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.79e-05/0.005482, allocations: 34.52 kB / 0.5578 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/0.005503, allocations: 16.94 kB / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-06/0.005509, allocations: 4 kB / 0.5578 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.005641, allocations: 95.36 kB / 0.5579 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.005642, allocations: 0 / 0.5579 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0002169/0.005859, allocations: 125.5 kB / 0.558 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.005891, allocations: 55.41 kB / 0.5581 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.151e-05/0.005963, allocations: 121.5 kB / 0.5582 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.005985, allocations: 29.7 kB / 0.5582 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.006036, allocations: 96.31 kB / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.006049, allocations: 19.89 kB / 0.5584 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.498e-05/0.006114, allocations: 61.56 kB / 0.5584 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.006205, allocations: 330.8 kB / 0.5587 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.006325, allocations: 123.3 kB / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.006452, allocations: 167.6 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.006595, allocations: 185.3 kB / 0.5592 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006597, allocations: 0 / 0.5592 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003067/0.006904, allocations: 352.2 kB / 0.5595 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.00694, allocations: 63.39 kB / 0.5596 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.006946, allocations: 8 kB / 0.5596 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.006956, allocations: 0 / 0.5596 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.783e-05/0.006994, allocations: 8 kB / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.007, allocations: 4 kB / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.007168, allocations: 56.05 kB / 0.5596 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.007191, allocations: 15.92 kB / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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 7.508e-05/0.007266, allocations: 131.3 kB / 0.5598 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.007278, allocations: 12.31 kB / 0.5598 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.007298, allocations: 8.438 kB / 0.5598 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.0073, allocations: 0 / 0.5598 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.007304, allocations: 0 / 0.5598 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007307, allocations: 7.938 kB / 0.5598 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.00752, allocations: 325.5 kB / 0.5601 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007521, allocations: 0 / 0.5601 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-06/0.007525, allocations: 4 kB / 0.5601 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.81e-07/0.007526, allocations: 0 / 0.5601 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.007535, allocations: 7.984 kB / 0.5601 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.007536, allocations: 0 / 0.5601 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007537, allocations: 3.938 kB / 0.5601 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.007653, allocations: 199.4 kB / 0.5603 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.007659, allocations: 3.938 kB / 0.5603 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.007674, allocations: 11.92 kB / 0.5603 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.394e-05/0.007708, allocations: 0 / 0.5603 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.007756, allocations: 11.98 kB / 0.5604 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.007774, allocations: 3.938 kB / 0.5604 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.41e-05/0.007828, allocations: 103.2 kB / 0.5605 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007828, allocations: 0 / 0.5605 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002182/0.008046, allocations: 35.95 kB / 0.5605 GB, free: 11.89 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: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000406/0.008452, allocations: 0.7242 MB / 0.5612 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002993/0.008751, allocations: 294.3 kB / 0.5615 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.008753, allocations: 0 / 0.5615 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.083e-05/0.008794, allocations: 28.23 kB / 0.5615 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.009007, allocations: 30.56 kB / 0.5615 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.01062, allocations: 2.103 MB / 0.5636 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.433e-05/0.01067, allocations: 79.27 kB / 0.5637 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.317e-05/0.0107, allocations: 4.734 kB / 0.5637 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.01074, allocations: 32.48 kB / 0.5637 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of SimCode: time 7.01e-07/0.01074, allocations: 0 / 0.5637 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.02535, allocations: 3.873 MB / 0.5675 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.795/6.82, allocations: 12.92 kB / 0.5675 GB, free: 4.652 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.47622433770448] Failed to read output from testmodel.py, exit status != 0: 6.899670579470694 6.911101906 6.905190944 Calling exit ...