Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.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.001016/0.001016, 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.0008791/0.0008791, 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.8907/0.8907, 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.5605/0.5605, 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.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.5542 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.743e-05, allocations: 5.672 kB / 0.5542 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.00217/0.002188, allocations: 1.776 MB / 0.5559 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.003519, allocations: 1.11 MB / 0.557 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.163e-05/0.003611, allocations: 3.938 kB / 0.557 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005494/0.00416, allocations: 183.3 kB / 0.5572 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.004458, allocations: 150.5 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.004757, allocations: 143.5 kB / 0.5575 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.004955, allocations: 175.5 kB / 0.5576 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.00505, allocations: 29.28 kB / 0.5577 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.005151, allocations: 87.8 kB / 0.5578 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.198e-05/0.005243, allocations: 67.8 kB / 0.5578 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.005261, allocations: 8 kB / 0.5578 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.005383, allocations: 75.81 kB / 0.5579 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.005444, allocations: 47.83 kB / 0.5579 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.005488, allocations: 31.88 kB / 0.558 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.005709, allocations: 203.4 kB / 0.5582 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.005711, allocations: 0 / 0.5582 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.22e-07/0.005712, allocations: 0 / 0.5582 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.005716, allocations: 0 / 0.5582 GB, free: 14.65 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005081/0.006224, allocations: 441.1 kB / 0.5586 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.006259, allocations: 8.625 kB / 0.5586 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.006287, allocations: 38.75 kB / 0.5586 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.006324, allocations: 16.84 kB / 0.5587 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.006536, allocations: 197.3 kB / 0.5588 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.006548, allocations: 4.375 kB / 0.5588 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.006558, allocations: 4.375 kB / 0.5588 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.00668, allocations: 81.95 kB / 0.5589 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.006687, allocations: 3.938 kB / 0.5589 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.006697, allocations: 7.922 kB / 0.5589 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.006706, allocations: 8 kB / 0.5589 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.798e-05/0.006774, allocations: 35.98 kB / 0.559 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.007141, allocations: 319.8 kB / 0.5593 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.007261, allocations: 70.61 kB / 0.5594 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.147e-05/0.007303, allocations: 32.84 kB / 0.5594 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.007316, allocations: 4 kB / 0.5594 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.007425, allocations: 79.38 kB / 0.5595 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.943e-06/0.007427, allocations: 4 kB / 0.5595 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0002322/0.007659, allocations: 149.5 kB / 0.5596 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.007686, allocations: 51.41 kB / 0.5597 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.007879, allocations: 279.9 kB / 0.5599 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.007892, allocations: 25.7 kB / 0.5599 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.007952, allocations: 124.1 kB / 0.5601 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.007976, allocations: 23.84 kB / 0.5601 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.008009, allocations: 25.72 kB / 0.5601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.008099, allocations: 334.8 kB / 0.5604 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-05/0.008141, allocations: 31.92 kB / 0.5605 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.008449, allocations: 80.38 kB / 0.5605 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.805e-05/0.008527, allocations: 78 kB / 0.5606 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.008529, allocations: 0 / 0.5606 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001219/0.008651, allocations: 125.4 kB / 0.5607 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.008661, allocations: 8 kB / 0.5607 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.008666, allocations: 0 / 0.5607 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.008682, allocations: 0 / 0.5607 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.008742, allocations: 11.94 kB / 0.5608 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.008748, allocations: 4 kB / 0.5608 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.487e-05/0.008783, allocations: 15.98 kB / 0.5608 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.008788, allocations: 4 kB / 0.5608 GB, free: 11.76 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: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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 8.935e-05/0.008877, allocations: 145.8 kB / 0.5609 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.008892, allocations: 15.86 kB / 0.5609 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.009052, allocations: 131 kB / 0.5611 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.00906, allocations: 7.984 kB / 0.5611 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.009064, allocations: 0 / 0.5611 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.009066, allocations: 0 / 0.5611 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.00919, allocations: 192.6 kB / 0.5612 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.009192, allocations: 8 kB / 0.5613 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.474e-05/0.009207, allocations: 7.938 kB / 0.5613 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.009208, allocations: 0 / 0.5613 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.009215, allocations: 0 / 0.5613 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.009217, allocations: 240 / 0.5613 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.009219, allocations: 7.984 kB / 0.5613 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.009342, allocations: 145 kB / 0.5614 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.009365, allocations: 27.78 kB / 0.5614 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.00938, allocations: 0 / 0.5614 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.374e-05/0.009403, allocations: 8 kB / 0.5614 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.009435, allocations: 11.92 kB / 0.5615 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.009442, allocations: 4 kB / 0.5615 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000125/0.009567, allocations: 204.6 kB / 0.5617 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.009567, allocations: 0 / 0.5617 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001734/0.00974, allocations: 35.92 kB / 0.5617 GB, free: 10.75 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.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.0009392/0.01068, allocations: 1.037 MB / 0.5627 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.01082, allocations: 75.52 kB / 0.5628 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01083, allocations: 4.062 kB / 0.5628 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.554e-05/0.01087, allocations: 35.98 kB / 0.5628 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.01105, allocations: 38.67 kB / 0.5628 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.01274, allocations: 2.021 MB / 0.5648 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.579e-05/0.01282, allocations: 122.6 kB / 0.5649 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.068e-05/0.01287, allocations: 21.8 kB / 0.565 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.01293, allocations: 48.48 kB / 0.565 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.01293, allocations: 0 / 0.565 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.03126, allocations: 5.425 MB / 0.5703 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/7.268, allocations: 4.062 kB / 0.5703 GB, free: 2.109 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.857034692540765] Failed to read output from testmodel.py, exit status != 0: 7.368884944356978 7.377507666 7.370263318 Calling exit ...