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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007421/0.0007422, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000915/0.0009149, allocations: 174.1 kB / 16.58 MB, free: 6.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6501/0.6501, allocations: 113.7 MB / 405.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003088, allocations: 8.781 kB / 493.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1467, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001711/0.1484, allocations: 1.235 MB / 0.5581 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00092/0.1494, allocations: 0.5342 MB / 0.5586 GB, free: 9.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.1495, allocations: 0 / 0.5586 GB, free: 9.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.312e-05/0.1496, allocations: 3.938 kB / 0.5586 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.734e-05/0.1496, allocations: 23.84 kB / 0.5587 GB, free: 9.848 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.15, allocations: 67.86 kB / 0.5587 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.1502, allocations: 87.64 kB / 0.5588 GB, free: 9.695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1503, allocations: 16.22 kB / 0.5588 GB, free: 9.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.1504, allocations: 39.91 kB / 0.5589 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.038e-05/0.1505, allocations: 35.83 kB / 0.5589 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.1506, allocations: 7.938 kB / 0.5589 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1507, allocations: 51.95 kB / 0.5589 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.1507, allocations: 15.92 kB / 0.559 GB, free: 9.527 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.1508, allocations: 37.64 kB / 0.559 GB, free: 9.484 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.1509, allocations: 96.05 kB / 0.5591 GB, free: 9.391 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.151, allocations: 0 / 0.5591 GB, free: 9.391 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.151, allocations: 0 / 0.5591 GB, free: 9.391 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.151, allocations: 0 / 0.5591 GB, free: 9.391 MB / 430.1 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.000791/0.1518, allocations: 448.6 kB / 0.5595 GB, free: 8.898 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.1518, allocations: 12.03 kB / 0.5595 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.793e-05/0.1519, allocations: 38.55 kB / 0.5596 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.1519, allocations: 11.91 kB / 0.5596 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.1522, allocations: 186.9 kB / 0.5598 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1522, allocations: 7.984 kB / 0.5598 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1522, allocations: 15.89 kB / 0.5598 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.1525, allocations: 105.6 kB / 0.5599 GB, free: 8.473 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1525, allocations: 0 / 0.5599 GB, free: 8.473 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1526, allocations: 0 / 0.5599 GB, free: 8.473 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.1526, allocations: 7.984 kB / 0.5599 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003156/0.1529, allocations: 107.9 kB / 0.56 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006791/0.1536, allocations: 364.5 kB / 0.5603 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.1539, allocations: 110.5 kB / 0.5604 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.1541, allocations: 68.88 kB / 0.5605 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1541, allocations: 4.078 kB / 0.5605 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003426/0.1545, allocations: 127.2 kB / 0.5606 GB, free: 7.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.1545, allocations: 0 / 0.5606 GB, free: 7.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006625/0.1552, allocations: 233.5 kB / 0.5609 GB, free: 7.391 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.1552, allocations: 59.34 kB / 0.5609 GB, free: 7.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.1554, allocations: 135.5 kB / 0.561 GB, free: 7.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.1554, allocations: 29.81 kB / 0.5611 GB, free: 7.145 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.1555, allocations: 111.9 kB / 0.5612 GB, free: 7.031 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.1555, allocations: 19.72 kB / 0.5612 GB, free: 7.012 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-06/0.1555, allocations: 0 / 0.5612 GB, free: 7.012 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1557, allocations: 326.8 kB / 0.5615 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.1559, allocations: 63.95 kB / 0.5616 GB, free: 6.621 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.156, allocations: 71.95 kB / 0.5616 GB, free: 6.551 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.1562, allocations: 89.66 kB / 0.5617 GB, free: 6.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1563, allocations: 4 kB / 0.5617 GB, free: 6.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004505/0.1567, allocations: 223.1 kB / 0.5619 GB, free: 6.223 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.1568, allocations: 33.69 kB / 0.562 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1568, allocations: 0 / 0.562 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1568, allocations: 4 kB / 0.562 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.1569, allocations: 19.98 kB / 0.562 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.157, allocations: 0 / 0.562 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.1571, allocations: 43.81 kB / 0.562 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.1571, allocations: 0 / 0.562 GB, free: 6.117 MB / 430.1 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.1573, allocations: 126.9 kB / 0.5622 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.1573, allocations: 7.906 kB / 0.5622 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.1573, allocations: 12.7 kB / 0.5622 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.1573, allocations: 4 kB / 0.5622 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1574, allocations: 3.938 kB / 0.5622 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1574, allocations: 4 kB / 0.5622 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.1576, allocations: 197.6 kB / 0.5624 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1576, allocations: 4 kB / 0.5624 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.1577, allocations: 23.92 kB / 0.5624 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1577, allocations: 0 / 0.5624 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.1577, allocations: 7.984 kB / 0.5624 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1577, allocations: 0 / 0.5624 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1578, allocations: 0 / 0.5624 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.1582, allocations: 200.9 kB / 0.5626 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/0.1583, allocations: 88.92 kB / 0.5627 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.1583, allocations: 8 kB / 0.5627 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.1584, allocations: 15.98 kB / 0.5627 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/0.1585, allocations: 23.91 kB / 0.5627 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.1585, allocations: 0 / 0.5627 GB, free: 5.309 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.987e-05/0.1586, allocations: 109.3 kB / 0.5628 GB, free: 5.203 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1586, allocations: 0 / 0.5628 GB, free: 5.203 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1589, allocations: 32 kB / 0.5629 GB, free: 5.172 MB / 430.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008585/0.1597, allocations: 0.7535 MB / 0.5636 GB, free: 4.391 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004788/0.1602, allocations: 203.3 kB / 0.5638 GB, free: 4.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1602, allocations: 0 / 0.5638 GB, free: 4.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.1604, allocations: 75.88 kB / 0.5639 GB, free: 4.105 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.1607, allocations: 28.05 kB / 0.5639 GB, free: 4.078 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.1622, allocations: 0.8138 MB / 0.5647 GB, free: 3.207 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.1625, allocations: 0.7004 MB / 0.5654 GB, free: 2.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.601e-05/0.1626, allocations: 19.77 kB / 0.5654 GB, free: 2.461 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.1626, allocations: 27.42 kB / 0.5654 GB, free: 2.438 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1626, allocations: 0 / 0.5654 GB, free: 2.438 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.175, allocations: 2.406 MB / 0.5678 GB, free: 188 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.1752, allocations: 183.5 kB / 0.5679 GB, free: 15.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/1.828, allocations: 0 / 0.5679 GB, free: 15.94 MB / 446.1 MB (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/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) Environment - environmentSimulation: