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.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.001077/0.001077, allocations: 72.5 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.001114/0.001114, allocations: 174.3 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.8873/0.8873, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.5834/0.5834, allocations: 114 MB / 373.9 MB, free: 8.691 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.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 1.493e-06/1.493e-06, allocations: 0 / 0.5541 GB, free: 1.746 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.646e-05, allocations: 2.281 kB / 0.5541 GB, free: 1.742 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001807/0.001823, allocations: 1.532 MB / 0.5556 GB, free: 204 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008593/0.002682, allocations: 0.6193 MB / 0.5562 GB, free: 15.57 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.963e-05/0.002752, allocations: 0 / 0.5562 GB, free: 15.57 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.002865, allocations: 15.86 kB / 0.5563 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.901e-05/0.002914, allocations: 15.81 kB / 0.5563 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.003329, allocations: 111.7 kB / 0.5564 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.003478, allocations: 107.6 kB / 0.5565 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.003588, allocations: 12.17 kB / 0.5565 GB, free: 15.31 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.003755, allocations: 59.88 kB / 0.5566 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.36e-05/0.003829, allocations: 43.88 kB / 0.5566 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.003849, allocations: 4 kB / 0.5566 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.003973, allocations: 99.78 kB / 0.5567 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.713e-05/0.00402, allocations: 19.92 kB / 0.5567 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.004063, allocations: 23.91 kB / 0.5567 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.004262, allocations: 171.5 kB / 0.5569 GB, free: 14.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004264, allocations: 4 kB / 0.5569 GB, free: 14.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.004265, allocations: 0 / 0.5569 GB, free: 14.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.004269, allocations: 0 / 0.5569 GB, free: 14.89 MB / 490.7 MB 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.0005086/0.004778, allocations: 383.4 kB / 0.5573 GB, free: 14.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.004812, allocations: 8.031 kB / 0.5573 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.832e-05/0.00484, allocations: 38.75 kB / 0.5573 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.004988, allocations: 36.86 kB / 0.5573 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.005151, allocations: 139.3 kB / 0.5575 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.005161, allocations: 4.375 kB / 0.5575 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.005175, allocations: 8.375 kB / 0.5575 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.005361, allocations: 102.2 kB / 0.5576 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.005369, allocations: 192 / 0.5576 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.005382, allocations: 20.05 kB / 0.5576 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.005396, allocations: 0 / 0.5576 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.00556, allocations: 91.91 kB / 0.5577 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.005967, allocations: 303.8 kB / 0.558 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.006129, allocations: 86.5 kB / 0.5581 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.006216, allocations: 56.88 kB / 0.5581 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.006228, allocations: 4 kB / 0.5581 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.006411, allocations: 111.3 kB / 0.5582 GB, free: 13.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.006412, allocations: 0 / 0.5582 GB, free: 13.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003592/0.006771, allocations: 213.4 kB / 0.5584 GB, free: 13.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.006802, allocations: 55.47 kB / 0.5585 GB, free: 13.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.516e-05/0.006887, allocations: 151 kB / 0.5586 GB, free: 12.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.006901, allocations: 25.7 kB / 0.5587 GB, free: 12.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.006949, allocations: 104.1 kB / 0.5588 GB, free: 12.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.006965, allocations: 27.75 kB / 0.5588 GB, free: 12.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.007004, allocations: 25.7 kB / 0.5588 GB, free: 12.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.259e-05/0.007076, allocations: 326.8 kB / 0.5591 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.007184, allocations: 81.77 kB / 0.5592 GB, free: 12.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.471e-05/0.007279, allocations: 97.58 kB / 0.5593 GB, free: 12.24 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.007458, allocations: 138.5 kB / 0.5594 GB, free: 12.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.007461, allocations: 3.984 kB / 0.5594 GB, free: 12.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002448/0.007705, allocations: 231.6 kB / 0.5596 GB, free: 11.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.007732, allocations: 37.7 kB / 0.5597 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.007737, allocations: 0 / 0.5597 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.007747, allocations: 0 / 0.5597 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/0.00782, allocations: 19.97 kB / 0.5597 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.007825, allocations: 480 / 0.5597 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.007886, allocations: 19.94 kB / 0.5597 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.007896, allocations: 0 / 0.5597 GB, free: 11.77 MB / 490.7 MB 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 7.272e-05/0.007969, allocations: 133.6 kB / 0.5599 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.007979, allocations: 11.95 kB / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.008001, allocations: 16.78 kB / 0.5599 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.008011, allocations: 4 kB / 0.5599 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.008014, allocations: 0 / 0.5599 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.008018, allocations: 3.984 kB / 0.5599 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.741e-05/0.008116, allocations: 172.5 kB / 0.5601 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.008118, allocations: 4 kB / 0.5601 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.352e-05/0.008161, allocations: 19.97 kB / 0.5601 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.008163, allocations: 0 / 0.5601 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.008172, allocations: 0 / 0.5601 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.008173, allocations: 4 kB / 0.5601 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.008173, allocations: 0 / 0.5601 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.008403, allocations: 184.9 kB / 0.5603 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.008414, allocations: 11.89 kB / 0.5603 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.008431, allocations: 4 kB / 0.5603 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.895e-05/0.00848, allocations: 15.97 kB / 0.5603 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.008525, allocations: 11.98 kB / 0.5603 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.008534, allocations: 11.98 kB / 0.5603 GB, free: 11.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.878e-05/0.008583, allocations: 109.5 kB / 0.5604 GB, free: 11 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008583, allocations: 0 / 0.5604 GB, free: 11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000164/0.008747, allocations: 32 kB / 0.5604 GB, free: 10.97 MB / 490.7 MB 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.0004533/0.0092, allocations: 0.7412 MB / 0.5612 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.009475, allocations: 213 kB / 0.5614 GB, free: 9.969 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.009476, allocations: 192 / 0.5614 GB, free: 9.969 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.705e-05/0.009573, allocations: 63.94 kB / 0.5614 GB, free: 9.906 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.009732, allocations: 24.48 kB / 0.5615 GB, free: 9.887 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.01126, allocations: 1.833 MB / 0.5632 GB, free: 7.934 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.638e-05/0.01133, allocations: 85.45 kB / 0.5633 GB, free: 7.832 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.868e-05/0.01139, allocations: 15.97 kB / 0.5633 GB, free: 7.816 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.01145, allocations: 32.48 kB / 0.5634 GB, free: 7.785 MB / 490.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01145, allocations: 0 / 0.5634 GB, free: 7.785 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.02714, allocations: 3.535 MB / 0.5668 GB, free: 4.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.625/6.652, allocations: 11.33 kB / 0.5668 GB, free: 4.402 MB / 490.7 MB " [Timeout remaining time 653] (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: 9.219274939969182] Failed to read output from testmodel.py, exit status != 0: 6.734594038687646 6.743161484 6.737197832 Calling exit ...