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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 182.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5292/0.5292, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 223.2 MB / 354.3 MB, free: 10.46 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009531/0.0009528, allocations: 104.2 kB / 427.4 MB, free: 2.203 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003178, allocations: 12 kB / 0.4983 GB, free: 41.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1524, allocations: 72.31 MB / 0.5689 GB, free: 1.602 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5154/0.6679, allocations: 103.1 MB / 0.6696 GB, free: 1.23 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.6682, allocations: 75.95 kB / 0.6697 GB, free: 1.156 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01097/0.6792, allocations: 3.557 MB / 0.6732 GB, free: 13.61 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.029e-06/0.6793, allocations: 0 / 0.6732 GB, free: 13.61 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.6793, allocations: 0 / 0.6732 GB, free: 13.61 MB / 474.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.0008217/0.6802, allocations: 465.2 kB / 0.6736 GB, free: 13.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.6802, allocations: 8.031 kB / 0.6736 GB, free: 13.09 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.125e-05/0.6803, allocations: 42.5 kB / 0.6737 GB, free: 13.04 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.6804, allocations: 15.84 kB / 0.6737 GB, free: 13.03 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.6807, allocations: 189.6 kB / 0.6738 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.6807, allocations: 8 kB / 0.6739 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.6807, allocations: 8 kB / 0.6739 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.6811, allocations: 109.6 kB / 0.674 GB, free: 12.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.6811, allocations: 3.953 kB / 0.674 GB, free: 12.67 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.6812, allocations: 0 / 0.674 GB, free: 12.67 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.6812, allocations: 4 kB / 0.674 GB, free: 12.67 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/0.6815, allocations: 107.8 kB / 0.6741 GB, free: 12.56 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007575/0.6823, allocations: 380.6 kB / 0.6744 GB, free: 12.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.6827, allocations: 102.5 kB / 0.6745 GB, free: 12.03 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.6827, allocations: 4 kB / 0.6745 GB, free: 12.03 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002975/0.683, allocations: 123.3 kB / 0.6747 GB, free: 11.89 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 2.745e-06/0.683, allocations: 0 / 0.6747 GB, free: 11.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008339/0.6839, allocations: 314.5 kB / 0.675 GB, free: 11.56 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.6839, allocations: 55.41 kB / 0.675 GB, free: 11.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.6841, allocations: 132.8 kB / 0.6751 GB, free: 11.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.6841, allocations: 25.7 kB / 0.6752 GB, free: 11.33 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.6842, allocations: 100 kB / 0.6753 GB, free: 11.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.6842, allocations: 31.62 kB / 0.6753 GB, free: 11.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-06/0.6843, allocations: 0 / 0.6753 GB, free: 11.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6844, allocations: 330.8 kB / 0.6756 GB, free: 10.86 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.6846, allocations: 63.95 kB / 0.6757 GB, free: 10.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.6848, allocations: 63.95 kB / 0.6757 GB, free: 10.74 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.6851, allocations: 96.72 kB / 0.6758 GB, free: 10.64 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6851, allocations: 0 / 0.6758 GB, free: 10.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005382/0.6856, allocations: 223.2 kB / 0.676 GB, free: 10.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.6857, allocations: 29.7 kB / 0.6761 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.6857, allocations: 0 / 0.6761 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.6857, allocations: 0 / 0.6761 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.6859, allocations: 31.97 kB / 0.6761 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.6859, allocations: 0 / 0.6761 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.686, allocations: 19.98 kB / 0.6761 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.6861, allocations: 7.984 kB / 0.6761 GB, free: 10.32 MB / 474.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 ($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: 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 0.0001243/0.6862, allocations: 125.7 kB / 0.6762 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.6862, allocations: 11.81 kB / 0.6762 GB, free: 10.17 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005149/0.6868, allocations: 182.8 kB / 0.6764 GB, free: 9.984 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.6868, allocations: 4 kB / 0.6764 GB, free: 9.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.6868, allocations: 7.938 kB / 0.6764 GB, free: 9.973 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.6868, allocations: 3.984 kB / 0.6764 GB, free: 9.969 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.687, allocations: 205.5 kB / 0.6766 GB, free: 9.719 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.687, allocations: 0 / 0.6766 GB, free: 9.719 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.6872, allocations: 27.97 kB / 0.6767 GB, free: 9.691 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.6872, allocations: 0 / 0.6767 GB, free: 9.691 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.6872, allocations: 0 / 0.6767 GB, free: 9.691 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6872, allocations: 4 kB / 0.6767 GB, free: 9.688 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6872, allocations: 4 kB / 0.6767 GB, free: 9.684 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.6877, allocations: 200.9 kB / 0.6769 GB, free: 9.469 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.6878, allocations: 88.97 kB / 0.6769 GB, free: 9.363 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.6878, allocations: 3.984 kB / 0.6769 GB, free: 9.359 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.688, allocations: 19.98 kB / 0.677 GB, free: 9.34 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/0.688, allocations: 15.97 kB / 0.677 GB, free: 9.324 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.6881, allocations: 11.92 kB / 0.677 GB, free: 9.312 MB / 474.7 MB Notification: Performance of sorting global known variables: time 8.998e-05/0.6882, allocations: 109.5 kB / 0.6771 GB, free: 9.207 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6882, allocations: 0 / 0.6771 GB, free: 9.207 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000281/0.6885, allocations: 43.98 kB / 0.6771 GB, free: 9.164 MB / 474.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: 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.000906/0.6894, allocations: 0.7527 MB / 0.6779 GB, free: 8.379 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005064/0.6899, allocations: 229 kB / 0.6781 GB, free: 8.137 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6899, allocations: 0 / 0.6781 GB, free: 8.137 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.6902, allocations: 113.6 kB / 0.6782 GB, free: 8.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.6904, allocations: 17.09 kB / 0.6782 GB, free: 8.004 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.6921, allocations: 0.811 MB / 0.679 GB, free: 7.145 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.6924, allocations: 0.7082 MB / 0.6797 GB, free: 6.41 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.211e-05/0.6925, allocations: 15.77 kB / 0.6797 GB, free: 6.395 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.6926, allocations: 23.42 kB / 0.6797 GB, free: 6.371 MB / 474.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6926, allocations: 0 / 0.6797 GB, free: 6.371 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.7096, allocations: 2.425 MB / 0.6821 GB, free: 4.066 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/0.7098, allocations: 184 kB / 0.6823 GB, free: 3.82 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.284, allocations: 0 / 0.6823 GB, free: 3.82 MB / 474.7 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)