Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.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.0008201/0.0008201, allocations: 76.55 kB / 19.93 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.000877/0.000877, allocations: 177.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.8814/0.8814, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.5633/0.5633, 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.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.313e-05, allocations: 6.828 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002558/0.002581, allocations: 1.764 MB / 0.5559 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.004013, allocations: 1.195 MB / 0.5571 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.385e-05/0.004107, allocations: 3.938 kB / 0.5571 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.004457, allocations: 55.73 kB / 0.5572 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.004808, allocations: 127.3 kB / 0.5573 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.005338, allocations: 194.6 kB / 0.5575 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.005555, allocations: 159.6 kB / 0.5576 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.005666, allocations: 13.64 kB / 0.5576 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.005774, allocations: 91.67 kB / 0.5577 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.005879, allocations: 63.86 kB / 0.5578 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.005898, allocations: 8 kB / 0.5578 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.006057, allocations: 75.86 kB / 0.5579 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.348e-05/0.00613, allocations: 51.77 kB / 0.5579 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.006181, allocations: 27.88 kB / 0.5579 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.006451, allocations: 215.3 kB / 0.5581 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.006454, allocations: 0 / 0.5581 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.705e-06/0.006457, allocations: 8 kB / 0.5581 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.006461, allocations: 0 / 0.5581 GB, free: 14.72 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005757/0.007037, allocations: 422.9 kB / 0.5585 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.007078, allocations: 12.03 kB / 0.5586 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.43e-05/0.007112, allocations: 42.67 kB / 0.5586 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.007158, allocations: 16.84 kB / 0.5586 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.007466, allocations: 201.3 kB / 0.5588 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.007481, allocations: 8.375 kB / 0.5588 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.007491, allocations: 384 / 0.5588 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.007686, allocations: 117.4 kB / 0.5589 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.007693, allocations: 8 kB / 0.5589 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.007704, allocations: 3.938 kB / 0.5589 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.007715, allocations: 0 / 0.5589 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.488e-05/0.00779, allocations: 39.97 kB / 0.559 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.008231, allocations: 315.8 kB / 0.5593 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.008407, allocations: 90.69 kB / 0.5594 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.02e-05/0.008458, allocations: 32.84 kB / 0.5594 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.008477, allocations: 0 / 0.5594 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.008631, allocations: 83.38 kB / 0.5595 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.008632, allocations: 4 kB / 0.5595 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0002694/0.008901, allocations: 145.5 kB / 0.5596 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.008944, allocations: 81.11 kB / 0.5597 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.009409, allocations: 275.9 kB / 0.56 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.009423, allocations: 29.7 kB / 0.56 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.009484, allocations: 124 kB / 0.5601 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.009506, allocations: 19.89 kB / 0.5601 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.009542, allocations: 25.7 kB / 0.5601 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.305e-05/0.009625, allocations: 334.8 kB / 0.5605 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.758e-05/0.009673, allocations: 27.98 kB / 0.5605 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-05/0.009744, allocations: 118.8 kB / 0.5606 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.716e-05/0.009831, allocations: 69.95 kB / 0.5607 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.009833, allocations: 0 / 0.5607 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001441/0.009977, allocations: 129.4 kB / 0.5608 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.00999, allocations: 8.188 kB / 0.5608 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.009997, allocations: 0 / 0.5608 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.01001, allocations: 3.938 kB / 0.5608 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/0.01008, allocations: 12.06 kB / 0.5608 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.01009, allocations: 7.984 kB / 0.5608 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.01013, allocations: 11.94 kB / 0.5608 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.01014, allocations: 0 / 0.5608 GB, free: 11.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0001026/0.01024, allocations: 141.8 kB / 0.561 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.01026, allocations: 19.91 kB / 0.561 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.01045, allocations: 127 kB / 0.5611 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.01045, allocations: 4 kB / 0.5611 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.01046, allocations: 0 / 0.5611 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01046, allocations: 0 / 0.5611 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.0106, allocations: 208.6 kB / 0.5613 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.0106, allocations: 0 / 0.5613 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.975e-05/0.01063, allocations: 8 kB / 0.5613 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01063, allocations: 0 / 0.5613 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.01064, allocations: 0 / 0.5613 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01064, allocations: 0 / 0.5613 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01064, allocations: 0 / 0.5613 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.01079, allocations: 152.9 kB / 0.5615 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.01081, allocations: 19.89 kB / 0.5615 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.01082, allocations: 0 / 0.5615 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.585e-05/0.01085, allocations: 8 kB / 0.5615 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.01089, allocations: 11.98 kB / 0.5615 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.0109, allocations: 4 kB / 0.5615 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001243/0.01103, allocations: 204.6 kB / 0.5617 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01103, allocations: 7.938 kB / 0.5617 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001971/0.01123, allocations: 35.92 kB / 0.5617 GB, free: 10.69 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * 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.001127/0.01235, allocations: 1.034 MB / 0.5628 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001809/0.01253, allocations: 75.91 kB / 0.5628 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.01254, allocations: 4 kB / 0.5628 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.527e-05/0.01259, allocations: 39.91 kB / 0.5629 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.01282, allocations: 37.58 kB / 0.5629 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.01447, allocations: 2.015 MB / 0.5649 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.101e-05/0.01456, allocations: 118.8 kB / 0.565 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.269e-05/0.01462, allocations: 25.78 kB / 0.565 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.857e-05/0.0147, allocations: 48.48 kB / 0.5651 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of SimCode: time 1.873e-06/0.0147, allocations: 4 kB / 0.5651 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.0375, allocations: 5.619 MB / 0.5706 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.247/7.284, allocations: 5.062 kB / 0.5706 GB, free: 1.859 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator_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_Utilities_Math_Examples_IntegerReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.887626447714865] Failed to read output from testmodel.py, exit status != 0: 7.384032838977873 7.395593397 7.38685593 Calling exit ...