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.001116/0.001116, allocations: 100.8 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 189.6 kB / 17.2 MB, free: 5.574 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.185/1.185, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6876/0.6876, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.91 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2718, allocations: 77.93 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002168/0.2741, allocations: 1.53 MB / 0.5688 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007078/0.2748, allocations: 0.5736 MB / 0.5693 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.242e-05/0.2748, allocations: 0 / 0.5693 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.597e-05/0.2749, allocations: 14.39 kB / 0.5693 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.289e-05/0.275, allocations: 24.09 kB / 0.5694 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.2753, allocations: 92.31 kB / 0.5695 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.2754, allocations: 95.89 kB / 0.5695 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.191e-05/0.2755, allocations: 18.84 kB / 0.5696 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.115e-05/0.2756, allocations: 48.36 kB / 0.5696 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.2757, allocations: 47.25 kB / 0.5697 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.2757, allocations: 7.344 kB / 0.5697 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.532e-05/0.2758, allocations: 60.83 kB / 0.5697 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.2759, allocations: 23.61 kB / 0.5697 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.2759, allocations: 38.55 kB / 0.5698 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.2761, allocations: 133.5 kB / 0.5699 GB, free: 30.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.2761, allocations: 4.5 kB / 0.5699 GB, free: 30.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2761, allocations: 0.6562 kB / 0.5699 GB, free: 30.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.2761, allocations: 0 / 0.5699 GB, free: 30.98 MB / 446.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.0006074/0.2768, allocations: 454.7 kB / 0.5703 GB, free: 30.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.2768, allocations: 10.5 kB / 0.5704 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.186e-05/0.2768, allocations: 39.19 kB / 0.5704 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.2769, allocations: 13.88 kB / 0.5704 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.277, allocations: 198.1 kB / 0.5706 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.277, allocations: 3.562 kB / 0.5706 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.277, allocations: 5.391 kB / 0.5706 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.2773, allocations: 110.7 kB / 0.5707 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2773, allocations: 1.219 kB / 0.5707 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2773, allocations: 0.6562 kB / 0.5707 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.2773, allocations: 12.67 kB / 0.5707 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.2777, allocations: 86.72 kB / 0.5708 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.2782, allocations: 340.8 kB / 0.5711 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.2785, allocations: 98.08 kB / 0.5712 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.2786, allocations: 61.42 kB / 0.5713 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.2786, allocations: 1.219 kB / 0.5713 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.2789, allocations: 114.8 kB / 0.5714 GB, free: 29.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.2789, allocations: 0.5312 kB / 0.5714 GB, free: 29.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005837/0.2795, allocations: 210.6 kB / 0.5716 GB, free: 29.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.2795, allocations: 57.98 kB / 0.5716 GB, free: 29.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.962e-05/0.2796, allocations: 139.9 kB / 0.5718 GB, free: 29.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2796, allocations: 27.61 kB / 0.5718 GB, free: 29.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.2797, allocations: 103.1 kB / 0.5719 GB, free: 29.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.2797, allocations: 22.09 kB / 0.5719 GB, free: 29.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.2798, allocations: 30.05 kB / 0.572 GB, free: 29.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.871e-05/0.2798, allocations: 324.8 kB / 0.5723 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.28, allocations: 62.25 kB / 0.5723 GB, free: 29.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.2802, allocations: 55.89 kB / 0.5724 GB, free: 29.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.2805, allocations: 156.7 kB / 0.5725 GB, free: 28.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2805, allocations: 0.8438 kB / 0.5725 GB, free: 28.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004036/0.2809, allocations: 197.3 kB / 0.5727 GB, free: 28.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.281, allocations: 33.23 kB / 0.5727 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.281, allocations: 0 / 0.5727 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.281, allocations: 1.562 kB / 0.5727 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.2811, allocations: 24.27 kB / 0.5728 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.2811, allocations: 1.281 kB / 0.5728 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.2813, allocations: 18.52 kB / 0.5728 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.2813, allocations: 7.094 kB / 0.5728 GB, free: 28.83 MB / 446.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 (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.013e-05/0.2813, allocations: 119.2 kB / 0.5729 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.2814, allocations: 9.75 kB / 0.5729 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.2814, allocations: 12.55 kB / 0.5729 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.2814, allocations: 8.312 kB / 0.5729 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.2814, allocations: 2.812 kB / 0.5729 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2814, allocations: 4.641 kB / 0.5729 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.2816, allocations: 198.6 kB / 0.5731 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2816, allocations: 0.6562 kB / 0.5731 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.2817, allocations: 21.45 kB / 0.5732 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2817, allocations: 1.094 kB / 0.5732 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.2817, allocations: 9.266 kB / 0.5732 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2817, allocations: 0 / 0.5732 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2817, allocations: 1.625 kB / 0.5732 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.2821, allocations: 190.6 kB / 0.5734 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.2821, allocations: 84.45 kB / 0.5734 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.2821, allocations: 1.766 kB / 0.5734 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.2823, allocations: 19.5 kB / 0.5735 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.2823, allocations: 18 kB / 0.5735 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.2823, allocations: 3.281 kB / 0.5735 GB, free: 28.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.681e-05/0.2824, allocations: 109.6 kB / 0.5736 GB, free: 28.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2824, allocations: 2.281 kB / 0.5736 GB, free: 28.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.2826, allocations: 45.09 kB / 0.5736 GB, free: 28.17 MB / 446.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 (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.0005561/0.2832, allocations: 0.7257 MB / 0.5743 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004194/0.2836, allocations: 191.2 kB / 0.5745 GB, free: 27.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2836, allocations: 0.625 kB / 0.5745 GB, free: 27.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.2838, allocations: 73.75 kB / 0.5746 GB, free: 27.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.284, allocations: 13.19 kB / 0.5746 GB, free: 27.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.2859, allocations: 1.706 MB / 0.5763 GB, free: 26.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.712e-05/0.286, allocations: 0.7023 MB / 0.5769 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.427e-05/0.286, allocations: 15.05 kB / 0.577 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.2861, allocations: 31.84 kB / 0.577 GB, free: 25.4 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2861, allocations: 0 / 0.577 GB, free: 25.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.484/3.77, allocations: 2.7 MB / 0.5796 GB, free: 24.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.04/12.81, allocations: 13.17 kB / 0.5796 GB, free: 24.84 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/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)