Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.687/1.687, allocations: 289.7 MB / 302.2 MB, free: 2.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 180.4 kB / 371.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009848/0.0009849, allocations: 94.61 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.422e-05/3.424e-05, allocations: 7.969 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2532, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7153/0.9686, allocations: 140.5 MB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.9689, allocations: 74.44 kB / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.009366/0.9783, allocations: 3.481 MB / 1.121 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9783, allocations: 0 / 1.121 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.9783, allocations: 4 kB / 1.121 GB, free: 41.48 MB / 0.7448 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.0005449/0.9789, allocations: 436.4 kB / 1.121 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.9789, allocations: 15.97 kB / 1.121 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.979, allocations: 34.08 kB / 1.121 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.979, allocations: 14.28 kB / 1.121 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.9793, allocations: 200.5 kB / 1.121 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.9793, allocations: 8 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.9793, allocations: 7.312 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.9795, allocations: 75.86 kB / 1.121 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.9795, allocations: 4.828 kB / 1.121 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.9795, allocations: 3.312 kB / 1.121 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.9796, allocations: 0 / 1.121 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.853e-05/0.9797, allocations: 40.78 kB / 1.121 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.9803, allocations: 368.4 kB / 1.122 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.9804, allocations: 56.02 kB / 1.122 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.759e-05/0.9805, allocations: 38.06 kB / 1.122 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.9805, allocations: 1.125 kB / 1.122 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.9807, allocations: 97.75 kB / 1.122 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.9807, allocations: 0 / 1.122 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002294/0.9809, allocations: 105.9 kB / 1.122 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.9809, allocations: 55.47 kB / 1.122 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.487e-05/0.981, allocations: 131 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.9811, allocations: 29.7 kB / 1.122 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.9811, allocations: 104.5 kB / 1.122 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.9811, allocations: 26.62 kB / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.9811, allocations: 3.609 kB / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.381e-05/0.9812, allocations: 321.6 kB / 1.123 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.339e-05/0.9813, allocations: 33.8 kB / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.599e-05/0.9813, allocations: 34.62 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.221e-05/0.9814, allocations: 60.08 kB / 1.123 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9814, allocations: 0.9375 kB / 1.123 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001988/0.9816, allocations: 153 kB / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.9817, allocations: 37.66 kB / 1.123 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.9817, allocations: 4 kB / 1.123 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.9817, allocations: 3.422 kB / 1.123 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.9818, allocations: 19.47 kB / 1.123 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.9819, allocations: 4 kB / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.982, allocations: 23.47 kB / 1.123 GB, free: 39.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.982, allocations: 7.875 kB / 1.123 GB, free: 39.12 MB / 0.7448 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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 5.975e-05/0.9821, allocations: 113.7 kB / 1.123 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.9821, allocations: 11.84 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.9824, allocations: 130 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.9824, allocations: 0 / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.9824, allocations: 0 / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.9824, allocations: 0 / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.9825, allocations: 211.6 kB / 1.123 GB, free: 38.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.9825, allocations: 0 / 1.123 GB, free: 38.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.9826, allocations: 27.5 kB / 1.124 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.9827, allocations: 4 kB / 1.124 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.9827, allocations: 0 / 1.124 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.9827, allocations: 3.953 kB / 1.124 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9827, allocations: 0.6875 kB / 1.124 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.9829, allocations: 136.9 kB / 1.124 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.9829, allocations: 85.02 kB / 1.124 GB, free: 38.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.9829, allocations: 7.375 kB / 1.124 GB, free: 38.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.9831, allocations: 16.88 kB / 1.124 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.9831, allocations: 21.75 kB / 1.124 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.9831, allocations: 8.047 kB / 1.124 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.414e-05/0.9832, allocations: 104.3 kB / 1.124 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9832, allocations: 0 / 1.124 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002095/0.9834, allocations: 39.88 kB / 1.124 GB, free: 38.29 MB / 0.7448 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003773/0.9838, allocations: 0.7036 MB / 1.125 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.984, allocations: 164.3 kB / 1.125 GB, free: 37.44 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.984, allocations: 3.938 kB / 1.125 GB, free: 37.44 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.598e-05/0.9841, allocations: 70.48 kB / 1.125 GB, free: 37.38 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.9843, allocations: 21.27 kB / 1.125 GB, free: 37.36 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004649/0.9848, allocations: 177.6 kB / 1.125 GB, free: 37.19 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.9849, allocations: 0.7053 MB / 1.126 GB, free: 36.48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.839e-05/0.985, allocations: 12.73 kB / 1.126 GB, free: 36.47 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.9851, allocations: 29.11 kB / 1.126 GB, free: 36.46 MB / 0.7448 GB Notification: Performance of SimCode: time 3.61e-07/0.9851, allocations: 1.125 kB / 1.126 GB, free: 36.46 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.9982, allocations: 2.457 MB / 1.128 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001284/0.9984, allocations: 158.6 kB / 1.128 GB, free: 34.91 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.552, allocations: 0 / 1.128 GB, free: 34.91 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)