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.001367/0.001367, allocations: 114.9 kB / 17.84 MB, free: 5.336 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.00164/0.00164, allocations: 205.6 kB / 20.8 MB, free: 2.391 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.554/1.554, allocations: 230.6 MB / 254.2 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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 1.015/1.015, allocations: 150 MB / 460.2 MB, free: 5.637 MB / 350.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.62 kB / 0.6368 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1627, allocations: 89.13 MB / 0.7238 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00201/0.1647, allocations: 0.6728 MB / 0.7245 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.1668, allocations: 1.231 MB / 0.7257 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.1668, allocations: 0 / 0.7257 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.559e-05/0.1669, allocations: 7.938 kB / 0.7257 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.645e-05/0.167, allocations: 11.91 kB / 0.7257 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008357/0.1678, allocations: 220.4 kB / 0.7259 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.1681, allocations: 179.7 kB / 0.7261 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1682, allocations: 8 kB / 0.7261 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1684, allocations: 71.88 kB / 0.7262 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.1685, allocations: 67.83 kB / 0.7262 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.1686, allocations: 16 kB / 0.7263 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.571e-05/0.1687, allocations: 27.98 kB / 0.7263 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.1687, allocations: 15.88 kB / 0.7263 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.801e-05/0.1688, allocations: 59.81 kB / 0.7264 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.1691, allocations: 155.9 kB / 0.7265 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1691, allocations: 0 / 0.7265 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.083e-06/0.1691, allocations: 4 kB / 0.7265 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.1691, allocations: 0 / 0.7265 GB, free: 1.43 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.0007283/0.1698, allocations: 442.6 kB / 0.7269 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.1699, allocations: 12.03 kB / 0.7269 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.559e-05/0.1699, allocations: 192 / 0.7269 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.1699, allocations: 38.69 kB / 0.727 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.17, allocations: 16.88 kB / 0.727 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.1701, allocations: 168.3 kB / 0.7272 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.1702, allocations: 4.375 kB / 0.7272 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.1702, allocations: 15.94 kB / 0.7272 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.1703, allocations: 53.61 kB / 0.7272 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1703, allocations: 4 kB / 0.7272 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1704, allocations: 0 / 0.7272 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1704, allocations: 4 kB / 0.7272 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.116e-05/0.1704, allocations: 11.98 kB / 0.7272 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006349/0.171, allocations: 360.6 kB / 0.7276 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.1711, allocations: 38.5 kB / 0.7276 GB, free: 116 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/0.1712, allocations: 20.94 kB / 0.7277 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-06/0.1712, allocations: 4 kB / 0.7277 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/0.1714, allocations: 87.44 kB / 0.7277 GB, free: 15.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.1714, allocations: 0 / 0.7277 GB, free: 15.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003265/0.1718, allocations: 121.6 kB / 0.7279 GB, free: 15.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.1718, allocations: 63.39 kB / 0.7279 GB, free: 15.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.172, allocations: 121.2 kB / 0.728 GB, free: 15.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.172, allocations: 33.7 kB / 0.7281 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.1721, allocations: 100.3 kB / 0.7282 GB, free: 15.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.1721, allocations: 15.91 kB / 0.7282 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.1722, allocations: 57.62 kB / 0.7282 GB, free: 15.44 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002238/0.1724, allocations: 322.8 kB / 0.7285 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.1726, allocations: 55.97 kB / 0.7286 GB, free: 15.06 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.1727, allocations: 114 kB / 0.7287 GB, free: 14.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.173, allocations: 177.3 kB / 0.7289 GB, free: 14.72 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.173, allocations: 4 kB / 0.7289 GB, free: 14.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004985/0.1735, allocations: 285.2 kB / 0.7291 GB, free: 14.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.434e-05/0.1735, allocations: 71.39 kB / 0.7292 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1735, allocations: 0 / 0.7292 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1736, allocations: 7.938 kB / 0.7292 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.29e-05/0.1736, allocations: 7.938 kB / 0.7292 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1736, allocations: 0 / 0.7292 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.174, allocations: 67.92 kB / 0.7293 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.174, allocations: 19.92 kB / 0.7293 GB, free: 14.24 MB / 0.545 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 0.0001124/0.1741, allocations: 122.6 kB / 0.7294 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.1741, allocations: 8.047 kB / 0.7294 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.1742, allocations: 12.36 kB / 0.7294 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1742, allocations: 4 kB / 0.7294 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1742, allocations: 0 / 0.7294 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1742, allocations: 7.938 kB / 0.7295 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/0.1745, allocations: 358.5 kB / 0.7298 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1745, allocations: 3.984 kB / 0.7298 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-06/0.1746, allocations: 0 / 0.7298 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1746, allocations: 0 / 0.7298 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1746, allocations: 8 kB / 0.7298 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1746, allocations: 3.938 kB / 0.7298 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1746, allocations: 3.938 kB / 0.7298 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.1748, allocations: 195.5 kB / 0.73 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.1749, allocations: 89.05 kB / 0.7301 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1749, allocations: 3.938 kB / 0.7301 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.867e-05/0.1749, allocations: 7.938 kB / 0.7301 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.175, allocations: 3.984 kB / 0.7301 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.175, allocations: 8 kB / 0.7301 GB, free: 13.31 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.889e-05/0.175, allocations: 91.27 kB / 0.7302 GB, free: 13.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.175, allocations: 0 / 0.7302 GB, free: 13.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002887/0.1753, allocations: 32 kB / 0.7302 GB, free: 13.19 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: 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.0006507/0.176, allocations: 0.7478 MB / 0.731 GB, free: 12.42 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003735/0.1764, allocations: 230.6 kB / 0.7312 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1764, allocations: 0 / 0.7312 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.775e-05/0.1764, allocations: 28.3 kB / 0.7312 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.1767, allocations: 23.86 kB / 0.7312 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.1791, allocations: 1.87 MB / 0.7331 GB, free: 10.13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1794, allocations: 0.6885 MB / 0.7337 GB, free: 9.414 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.1794, allocations: 12.66 kB / 0.7337 GB, free: 9.402 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.1795, allocations: 23.44 kB / 0.7338 GB, free: 9.379 MB / 0.545 GB Notification: Performance of SimCode: time 3.7e-07/0.1795, allocations: 0 / 0.7338 GB, free: 9.379 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.2004, allocations: 3.066 MB / 0.7368 GB, free: 6.453 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/8.489, allocations: 10.62 kB / 0.7368 GB, free: 6.445 MB / 0.545 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 12.476575118023902] Failed to read output from testmodel.py, exit status != 0: 8.62015315698227 8.636609935 8.464411627 Calling exit ...