Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 112.9 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 191.7 kB / 20.02 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8321/0.8321, allocations: 126.7 MB / 424.6 MB, free: 6.199 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 75.88 kB / 0.582 GB, free: 12.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4338, allocations: 78.86 MB / 0.659 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002353/0.4363, allocations: 1.541 MB / 0.6605 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008452/0.4371, allocations: 0.5818 MB / 0.6611 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.636e-05/0.4372, allocations: 1.438 kB / 0.6611 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.933e-05/0.4373, allocations: 9.891 kB / 0.6611 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.204e-05/0.4374, allocations: 20.59 kB / 0.6611 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.4377, allocations: 90.94 kB / 0.6612 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.4379, allocations: 100.7 kB / 0.6613 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.438, allocations: 21.11 kB / 0.6613 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.4381, allocations: 40.12 kB / 0.6614 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.193e-05/0.4382, allocations: 49.38 kB / 0.6614 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.4382, allocations: 7.188 kB / 0.6614 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.4384, allocations: 91.8 kB / 0.6615 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.4385, allocations: 25.67 kB / 0.6615 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.4385, allocations: 37.73 kB / 0.6616 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.4388, allocations: 141.1 kB / 0.6617 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4388, allocations: 5.156 kB / 0.6617 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4388, allocations: 0 / 0.6617 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.4388, allocations: 0 / 0.6617 GB, free: 12.92 MB / 0.4981 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.000716/0.4395, allocations: 451 kB / 0.6621 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.4395, allocations: 13.44 kB / 0.6621 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.713e-05/0.4396, allocations: 36.28 kB / 0.6622 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.4396, allocations: 10.39 kB / 0.6622 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.4398, allocations: 200.7 kB / 0.6624 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.4398, allocations: 3.188 kB / 0.6624 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.4398, allocations: 8.594 kB / 0.6624 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.4401, allocations: 111.9 kB / 0.6625 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4401, allocations: 1.125 kB / 0.6625 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.4401, allocations: 0 / 0.6625 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.4402, allocations: 14.8 kB / 0.6625 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.4405, allocations: 81.03 kB / 0.6626 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.4411, allocations: 348.2 kB / 0.6629 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.4414, allocations: 95.8 kB / 0.663 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.4416, allocations: 59.41 kB / 0.6631 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.4416, allocations: 5.625 kB / 0.6631 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003632/0.442, allocations: 120.8 kB / 0.6632 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.784e-06/0.442, allocations: 1.094 kB / 0.6632 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006578/0.4426, allocations: 199.9 kB / 0.6634 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.4427, allocations: 54.42 kB / 0.6634 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/0.4428, allocations: 147.4 kB / 0.6636 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.4428, allocations: 30.8 kB / 0.6636 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.4429, allocations: 99.05 kB / 0.6637 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.4429, allocations: 30.14 kB / 0.6637 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.4429, allocations: 24.12 kB / 0.6638 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.626e-05/0.443, allocations: 325.8 kB / 0.6641 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.4432, allocations: 56.95 kB / 0.6641 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.4434, allocations: 60.78 kB / 0.6642 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.4437, allocations: 143.6 kB / 0.6643 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4437, allocations: 0 / 0.6643 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004266/0.4442, allocations: 208.8 kB / 0.6645 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.4442, allocations: 31.91 kB / 0.6645 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4442, allocations: 1.188 kB / 0.6645 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.4442, allocations: 0 / 0.6645 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.4444, allocations: 18.91 kB / 0.6646 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4444, allocations: 0 / 0.6646 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.4445, allocations: 24.2 kB / 0.6646 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.4446, allocations: 6.219 kB / 0.6646 GB, free: 10.73 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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 6.634e-05/0.4446, allocations: 126 kB / 0.6647 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.4446, allocations: 12.67 kB / 0.6647 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.4447, allocations: 14.31 kB / 0.6647 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.4447, allocations: 3.578 kB / 0.6647 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4447, allocations: 0.9062 kB / 0.6647 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4447, allocations: 4.594 kB / 0.6647 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.4448, allocations: 194.5 kB / 0.6649 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4449, allocations: 4.641 kB / 0.6649 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.445, allocations: 20.17 kB / 0.665 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.445, allocations: 5.781 kB / 0.665 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.445, allocations: 1.219 kB / 0.665 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.445, allocations: 2.328 kB / 0.665 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.445, allocations: 0 / 0.665 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/0.4454, allocations: 188.9 kB / 0.6651 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.4455, allocations: 88.12 kB / 0.6652 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.4455, allocations: 2 kB / 0.6652 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.4456, allocations: 22.27 kB / 0.6653 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.4457, allocations: 10.42 kB / 0.6653 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.4457, allocations: 6.219 kB / 0.6653 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.238e-05/0.4458, allocations: 111.6 kB / 0.6654 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4458, allocations: 0 / 0.6654 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002625/0.446, allocations: 36.22 kB / 0.6654 GB, free: 10.07 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.000621/0.4467, allocations: 0.727 MB / 0.6661 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004651/0.4471, allocations: 191.3 kB / 0.6663 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4471, allocations: 0 / 0.6663 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.4474, allocations: 62.09 kB / 0.6664 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.4476, allocations: 13.7 kB / 0.6664 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.4496, allocations: 1.718 MB / 0.6681 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.4497, allocations: 0.7041 MB / 0.6687 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.661e-05/0.4498, allocations: 15.98 kB / 0.6688 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.4499, allocations: 27.41 kB / 0.6688 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.4499, allocations: 0 / 0.6688 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.4749, allocations: 2.756 MB / 0.6715 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/8.067, allocations: 12.05 kB / 0.6715 GB, free: 6.645 MB / 0.4981 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.059053799021058] Failed to read output from testmodel.py, exit status != 0: 8.133318671025336 8.144892627 7.703648388 Calling exit ...