Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildSysPro_BuildSysPro_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.005299/0.005299, allocations: 101.5 kB / 15.73 MB, free: 6.477 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.001242/0.001242, allocations: 196.1 kB / 16.67 MB, free: 6.379 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9993/0.9993, allocations: 143 MB / 433.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.89 kB / 0.595 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.4252, allocations: 82.02 MB / 0.6751 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002187/0.4274, allocations: 1.545 MB / 0.6766 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009188/0.4283, allocations: 0.5748 MB / 0.6772 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.206e-05/0.4284, allocations: 0 / 0.6772 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.474e-05/0.4285, allocations: 13.42 kB / 0.6772 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.031e-05/0.4286, allocations: 17.3 kB / 0.6772 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.4289, allocations: 94.55 kB / 0.6773 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.4291, allocations: 103.3 kB / 0.6774 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.935e-05/0.4292, allocations: 14.42 kB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.4293, allocations: 49.64 kB / 0.6775 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/0.4294, allocations: 44.73 kB / 0.6775 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.4294, allocations: 7.406 kB / 0.6775 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.4296, allocations: 92.62 kB / 0.6776 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.289e-05/0.4296, allocations: 16.14 kB / 0.6776 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.4297, allocations: 44.84 kB / 0.6777 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.4299, allocations: 139.5 kB / 0.6778 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.4299, allocations: 0 / 0.6778 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4299, allocations: 5.344 kB / 0.6778 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.4299, allocations: 0 / 0.6778 GB, free: 15.09 MB / 0.5137 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.000735/0.4306, allocations: 454.8 kB / 0.6783 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.4307, allocations: 12.19 kB / 0.6783 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.834e-05/0.4307, allocations: 41.45 kB / 0.6783 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.4308, allocations: 9.188 kB / 0.6783 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.4309, allocations: 189.3 kB / 0.6785 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.431, allocations: 6.547 kB / 0.6785 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.431, allocations: 11.88 kB / 0.6785 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.4313, allocations: 107.1 kB / 0.6786 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4313, allocations: 1.094 kB / 0.6786 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.4313, allocations: 7.984 kB / 0.6786 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.4313, allocations: 7.828 kB / 0.6786 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.4316, allocations: 82.48 kB / 0.6787 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.4322, allocations: 353.2 kB / 0.679 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.4325, allocations: 89.64 kB / 0.6791 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.4327, allocations: 59.59 kB / 0.6792 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.4327, allocations: 1.125 kB / 0.6792 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/0.4331, allocations: 117 kB / 0.6793 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.4331, allocations: 0 / 0.6793 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0006168/0.4337, allocations: 208.1 kB / 0.6795 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.4337, allocations: 60.34 kB / 0.6796 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.4338, allocations: 139.6 kB / 0.6797 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.4339, allocations: 31.89 kB / 0.6797 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.4339, allocations: 99.53 kB / 0.6798 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.434, allocations: 27.81 kB / 0.6798 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.434, allocations: 25.7 kB / 0.6799 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4341, allocations: 333 kB / 0.6802 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.4343, allocations: 57.23 kB / 0.6802 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.4345, allocations: 57.3 kB / 0.6803 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.4349, allocations: 139.8 kB / 0.6804 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4349, allocations: 96 / 0.6804 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004359/0.4353, allocations: 211.7 kB / 0.6806 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.4353, allocations: 31.55 kB / 0.6807 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4354, allocations: 1.188 kB / 0.6807 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.4354, allocations: 0 / 0.6807 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.4355, allocations: 20.38 kB / 0.6807 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.4355, allocations: 5 kB / 0.6807 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.4357, allocations: 17.77 kB / 0.6807 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.4357, allocations: 10.06 kB / 0.6807 GB, free: 12.58 MB / 0.5137 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 8.337e-05/0.4358, allocations: 120.5 kB / 0.6808 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.4358, allocations: 12.19 kB / 0.6808 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.4359, allocations: 10.94 kB / 0.6808 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.4359, allocations: 7.172 kB / 0.6809 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.4359, allocations: 1.094 kB / 0.6809 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4359, allocations: 0 / 0.6809 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.4361, allocations: 200 kB / 0.681 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4361, allocations: 4.844 kB / 0.681 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.4362, allocations: 23.38 kB / 0.6811 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4362, allocations: 0 / 0.6811 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.4362, allocations: 1.125 kB / 0.6811 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.4362, allocations: 1.156 kB / 0.6811 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4362, allocations: 0 / 0.6811 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.4367, allocations: 185.6 kB / 0.6812 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.4367, allocations: 83.7 kB / 0.6813 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.4367, allocations: 13.3 kB / 0.6813 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.4369, allocations: 16.02 kB / 0.6814 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.4369, allocations: 13.73 kB / 0.6814 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.4369, allocations: 2.281 kB / 0.6814 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.038e-05/0.437, allocations: 116 kB / 0.6815 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.437, allocations: 0 / 0.6815 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002384/0.4373, allocations: 40.75 kB / 0.6815 GB, free: 11.84 MB / 0.5137 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.0007166/0.438, allocations: 0.7285 MB / 0.6822 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004548/0.4385, allocations: 181.2 kB / 0.6824 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4385, allocations: 0 / 0.6824 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.4387, allocations: 70.16 kB / 0.6825 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.4389, allocations: 15.86 kB / 0.6825 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.4411, allocations: 1.725 MB / 0.6842 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.4413, allocations: 0.702 MB / 0.6849 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.595e-05/0.4414, allocations: 16.22 kB / 0.6849 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.4415, allocations: 27.55 kB / 0.6849 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.4415, allocations: 0 / 0.6849 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.4597, allocations: 2.82 MB / 0.6877 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.345/7.805, allocations: 8.422 kB / 0.6877 GB, free: 7.355 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)