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.001244/0.001244, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.001391/0.001391, allocations: 210.2 kB / 23.04 MB, free: 4.883 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.363/1.363, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 0.9147/0.9147, allocations: 150 MB / 463.2 MB, free: 10.2 MB / 366.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="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: 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.001928/0.001928, allocations: 66.88 kB / 0.6413 GB, free: 9.871 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1614, allocations: 89.17 MB / 0.7284 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001921/0.1633, allocations: 0.6535 MB / 0.729 GB, free: 120 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.1649, allocations: 1.213 MB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.165, allocations: 4 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.165, allocations: 3.938 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.623e-05/0.1651, allocations: 19.84 kB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006824/0.1658, allocations: 225.3 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.166, allocations: 175.7 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.807e-05/0.1661, allocations: 11.92 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1662, allocations: 71.89 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.1663, allocations: 55.83 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.1664, allocations: 16 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.346e-05/0.1664, allocations: 28 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.1665, allocations: 11.98 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.891e-05/0.1665, allocations: 55.83 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.1667, allocations: 163.9 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1667, allocations: 0 / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1668, allocations: 0 / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1668, allocations: 0 / 0.731 GB, free: 14.07 MB / 0.5606 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.000494/0.1672, allocations: 365.5 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1673, allocations: 11.97 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.1673, allocations: 30.75 kB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.1674, allocations: 12.89 kB / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.252e-05/0.1675, allocations: 114.5 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.1675, allocations: 12.38 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.1675, allocations: 12.12 kB / 0.7315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.1676, allocations: 57.59 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1676, allocations: 4 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1676, allocations: 0 / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1676, allocations: 0 / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.509e-05/0.1677, allocations: 12 kB / 0.7316 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.1681, allocations: 307.7 kB / 0.7319 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.336e-05/0.1682, allocations: 34.56 kB / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.1683, allocations: 12.86 kB / 0.7319 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.1683, allocations: 0 / 0.7319 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.1684, allocations: 99.39 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.1684, allocations: 0 / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.000271/0.1687, allocations: 129.5 kB / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.1688, allocations: 55.41 kB / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.569e-05/0.1688, allocations: 125.8 kB / 0.7323 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.1689, allocations: 29.7 kB / 0.7324 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.1689, allocations: 92.36 kB / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.169, allocations: 19.89 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.315e-05/0.1691, allocations: 53.69 kB / 0.7325 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1692, allocations: 322.8 kB / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.1694, allocations: 123.4 kB / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.1696, allocations: 173.3 kB / 0.7331 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.1698, allocations: 181.3 kB / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1698, allocations: 0 / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004749/0.1703, allocations: 344.2 kB / 0.7336 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/0.1703, allocations: 75.55 kB / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1703, allocations: 0 / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1703, allocations: 4 kB / 0.7337 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.711e-05/0.1704, allocations: 11.92 kB / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1704, allocations: 384 / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.1707, allocations: 55.83 kB / 0.7337 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.1707, allocations: 23.92 kB / 0.7338 GB, free: 10.9 MB / 0.5606 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.0001072/0.1709, allocations: 123 kB / 0.7339 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.1709, allocations: 11.89 kB / 0.7339 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/0.1709, allocations: 12.38 kB / 0.7339 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1709, allocations: 0 / 0.7339 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1709, allocations: 0 / 0.7339 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1709, allocations: 7.984 kB / 0.7339 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.1712, allocations: 329.5 kB / 0.7342 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1712, allocations: 0 / 0.7342 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.109e-05/0.1712, allocations: 4 kB / 0.7342 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1712, allocations: 0 / 0.7342 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.1712, allocations: 4 kB / 0.7342 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1712, allocations: 3.938 kB / 0.7342 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1712, allocations: 4 kB / 0.7342 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.1714, allocations: 199.4 kB / 0.7344 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.1715, allocations: 7.953 kB / 0.7344 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.1715, allocations: 4 kB / 0.7344 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.349e-05/0.1715, allocations: 3.938 kB / 0.7345 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.1716, allocations: 7.984 kB / 0.7345 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.1716, allocations: 4 kB / 0.7345 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.929e-05/0.1716, allocations: 91.27 kB / 0.7345 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1716, allocations: 0 / 0.7345 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002663/0.1719, allocations: 36 kB / 0.7346 GB, free: 9.992 MB / 0.5606 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.0005038/0.1724, allocations: 0.7476 MB / 0.7353 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.1728, allocations: 290 kB / 0.7356 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1728, allocations: 0 / 0.7356 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.828e-05/0.1728, allocations: 31.92 kB / 0.7356 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.1731, allocations: 25.8 kB / 0.7356 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.1753, allocations: 2.107 MB / 0.7377 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.94e-05/0.1754, allocations: 76.25 kB / 0.7378 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.6e-05/0.1755, allocations: 8.953 kB / 0.7378 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.1755, allocations: 23.42 kB / 0.7378 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.1755, allocations: 0 / 0.7378 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03014/0.2056, allocations: 3.763 MB / 0.7415 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.57, allocations: 10.39 kB / 0.7415 GB, free: 2.844 MB / 0.5606 GB " [Timeout remaining time 649] (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: 14.133108683861792] Failed to read output from testmodel.py, exit status != 0: 10.683625607052818 10.698522017 10.528757849 Calling exit ...