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.0008325/0.0008325, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.0008132/0.0008132, allocations: 173.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.863/0.863, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5445/0.5445, allocations: 114 MB / 373.9 MB, free: 8.688 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 2.214e-06/2.214e-06, allocations: 0 / 0.5541 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.991e-05, allocations: 2.281 kB / 0.5541 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001923/0.001943, allocations: 1.554 MB / 0.5557 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000718/0.002661, allocations: 0.6037 MB / 0.5562 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.002717, allocations: 3.938 kB / 0.5563 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.099e-05/0.002808, allocations: 7.922 kB / 0.5563 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.206e-05/0.00285, allocations: 27.73 kB / 0.5563 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.003215, allocations: 107.7 kB / 0.5564 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.003342, allocations: 99.56 kB / 0.5565 GB, free: 420 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.212e-05/0.003434, allocations: 16.22 kB / 0.5565 GB, free: 400 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.003581, allocations: 67.81 kB / 0.5566 GB, free: 332 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.986e-05/0.00364, allocations: 31.89 kB / 0.5566 GB, free: 300 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.003658, allocations: 8 kB / 0.5566 GB, free: 292 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.003774, allocations: 95.83 kB / 0.5567 GB, free: 196 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.814e-05/0.003812, allocations: 23.92 kB / 0.5567 GB, free: 172 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.003849, allocations: 27.92 kB / 0.5567 GB, free: 144 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.004034, allocations: 167.5 kB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004036, allocations: 0 / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004037, allocations: 4 kB / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.00404, allocations: 0 / 0.5569 GB, free: 15.97 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.0005012/0.004542, allocations: 387.4 kB / 0.5573 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.004575, allocations: 8.625 kB / 0.5573 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.689e-05/0.004602, allocations: 42.73 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.004755, allocations: 36.86 kB / 0.5574 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.004913, allocations: 133.6 kB / 0.5575 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.004923, allocations: 4.375 kB / 0.5575 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.004936, allocations: 8.359 kB / 0.5575 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.005121, allocations: 102.1 kB / 0.5576 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.005128, allocations: 192 / 0.5576 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.005139, allocations: 4.125 kB / 0.5576 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.005155, allocations: 7.984 kB / 0.5576 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.00532, allocations: 95.86 kB / 0.5577 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.005727, allocations: 307.7 kB / 0.558 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.005888, allocations: 86.52 kB / 0.5581 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.575e-05/0.005974, allocations: 56.88 kB / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.005986, allocations: 0 / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.006155, allocations: 115.3 kB / 0.5582 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.006156, allocations: 0 / 0.5582 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0003581/0.006514, allocations: 205.5 kB / 0.5584 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.006542, allocations: 55.41 kB / 0.5585 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.006621, allocations: 157.2 kB / 0.5586 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.006635, allocations: 29.7 kB / 0.5587 GB, free: 14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.006684, allocations: 92.14 kB / 0.5588 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.006702, allocations: 35.75 kB / 0.5588 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.006742, allocations: 29.8 kB / 0.5588 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.006808, allocations: 334.7 kB / 0.5591 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.006915, allocations: 85.66 kB / 0.5592 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.332e-05/0.007008, allocations: 81.66 kB / 0.5593 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.007185, allocations: 142.5 kB / 0.5594 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.007187, allocations: 0 / 0.5594 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002473/0.007434, allocations: 236.8 kB / 0.5597 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.007458, allocations: 31.73 kB / 0.5597 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.007464, allocations: 3.984 kB / 0.5597 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.007475, allocations: 4 kB / 0.5597 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.007567, allocations: 15.98 kB / 0.5597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.007572, allocations: 0 / 0.5597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.896e-05/0.007641, allocations: 19.97 kB / 0.5597 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.007651, allocations: 4 kB / 0.5597 GB, free: 12.84 MB / 0.5261 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.529e-05/0.007716, allocations: 126.2 kB / 0.5599 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.007727, allocations: 7.953 kB / 0.5599 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.14e-05/0.007749, allocations: 16.75 kB / 0.5599 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.007756, allocations: 15.88 kB / 0.5599 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.00776, allocations: 0 / 0.5599 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.007764, allocations: 4 kB / 0.5599 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.007864, allocations: 164.6 kB / 0.5601 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007865, allocations: 0 / 0.5601 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.007909, allocations: 15.92 kB / 0.5601 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007911, allocations: 8 kB / 0.5601 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.007922, allocations: 11.97 kB / 0.5601 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.007924, allocations: 4 kB / 0.5601 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.007926, allocations: 0 / 0.5601 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.008144, allocations: 180.9 kB / 0.5603 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.008155, allocations: 11.89 kB / 0.5603 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.00817, allocations: 4 kB / 0.5603 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.926e-05/0.00822, allocations: 15.98 kB / 0.5603 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.008262, allocations: 15.97 kB / 0.5603 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.008268, allocations: 0 / 0.5603 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.61e-05/0.008314, allocations: 115.2 kB / 0.5604 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.008314, allocations: 0 / 0.5604 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001654/0.008479, allocations: 36 kB / 0.5605 GB, free: 12.03 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: 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.0004343/0.008914, allocations: 0.7411 MB / 0.5612 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.009178, allocations: 201 kB / 0.5614 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.00918, allocations: 0 / 0.5614 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.779e-05/0.009277, allocations: 63.88 kB / 0.5614 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.009421, allocations: 23.23 kB / 0.5615 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.01085, allocations: 1.829 MB / 0.5632 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.97e-05/0.0109, allocations: 93.3 kB / 0.5633 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.723e-05/0.01095, allocations: 11.98 kB / 0.5633 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.011, allocations: 32.48 kB / 0.5634 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of SimCode: time 5.01e-07/0.011, allocations: 0 / 0.5634 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.0256, allocations: 3.528 MB / 0.5668 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.594/6.62, allocations: 17.25 kB / 0.5668 GB, free: 5.48 MB / 0.5261 GB " [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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 8.920238169841468] Failed to read output from testmodel.py, exit status != 0: 6.700383114628494 6.711189827 6.705396767 Calling exit ...