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.005377/0.005377, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001185/0.001185, allocations: 189.4 kB / 16.67 MB, free: 5.973 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.9235/0.9235, allocations: 143 MB / 433.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 67.89 kB / 0.595 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.343, allocations: 82.03 MB / 0.6751 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002239/0.3453, allocations: 1.539 MB / 0.6766 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008661/0.3462, allocations: 0.5773 MB / 0.6772 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.3462, allocations: 1.281 kB / 0.6772 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.622e-05/0.3463, allocations: 9 kB / 0.6772 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.405e-05/0.3464, allocations: 22.17 kB / 0.6772 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.3468, allocations: 91.02 kB / 0.6773 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.3469, allocations: 98.98 kB / 0.6774 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.458e-05/0.347, allocations: 25.77 kB / 0.6774 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.3471, allocations: 52.88 kB / 0.6775 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.998e-05/0.3472, allocations: 50 kB / 0.6775 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.3473, allocations: 7.156 kB / 0.6775 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.3474, allocations: 84.39 kB / 0.6776 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.608e-05/0.3474, allocations: 20.09 kB / 0.6776 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.3475, allocations: 42.08 kB / 0.6777 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.3477, allocations: 144.7 kB / 0.6778 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3477, allocations: 1.125 kB / 0.6778 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3477, allocations: 3.938 kB / 0.6778 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.3477, allocations: 0 / 0.6778 GB, free: 14.94 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.0007343/0.3485, allocations: 460.9 kB / 0.6783 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3485, allocations: 10.06 kB / 0.6783 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.3486, allocations: 31.88 kB / 0.6783 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.3486, allocations: 10.52 kB / 0.6783 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.3488, allocations: 193.3 kB / 0.6785 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3488, allocations: 13.75 kB / 0.6785 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3488, allocations: 4.094 kB / 0.6785 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.3491, allocations: 107.8 kB / 0.6786 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3491, allocations: 0 / 0.6786 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.3492, allocations: 5.312 kB / 0.6786 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.3492, allocations: 3.906 kB / 0.6786 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.3495, allocations: 81.58 kB / 0.6787 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005964/0.3501, allocations: 356.2 kB / 0.679 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.3504, allocations: 94.72 kB / 0.6791 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.3506, allocations: 50.92 kB / 0.6792 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.3506, allocations: 1.25 kB / 0.6792 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002973/0.3509, allocations: 121.6 kB / 0.6793 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.3509, allocations: 0 / 0.6793 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0006427/0.3516, allocations: 207.6 kB / 0.6795 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.3516, allocations: 60.38 kB / 0.6796 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.3517, allocations: 149.2 kB / 0.6797 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3518, allocations: 27.02 kB / 0.6797 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.3518, allocations: 100.5 kB / 0.6798 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.3519, allocations: 31.38 kB / 0.6798 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.3519, allocations: 29.27 kB / 0.6799 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.352, allocations: 321.7 kB / 0.6802 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.3522, allocations: 60.56 kB / 0.6802 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.3524, allocations: 56.95 kB / 0.6803 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.3527, allocations: 139.9 kB / 0.6804 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3528, allocations: 3.984 kB / 0.6804 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004474/0.3532, allocations: 200.3 kB / 0.6806 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.3533, allocations: 38 kB / 0.6807 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3533, allocations: 0 / 0.6807 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3533, allocations: 1.375 kB / 0.6807 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.3534, allocations: 16.39 kB / 0.6807 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3534, allocations: 3.938 kB / 0.6807 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.3536, allocations: 30.56 kB / 0.6807 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.3536, allocations: 5.5 kB / 0.6807 GB, free: 12.44 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 9.096e-05/0.3537, allocations: 121.1 kB / 0.6808 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.3537, allocations: 11.44 kB / 0.6808 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.3538, allocations: 14.86 kB / 0.6809 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.3538, allocations: 4.469 kB / 0.6809 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3538, allocations: 0 / 0.6809 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3538, allocations: 0 / 0.6809 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.354, allocations: 208.5 kB / 0.6811 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.354, allocations: 4 kB / 0.6811 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.3541, allocations: 15.02 kB / 0.6811 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3541, allocations: 0.9688 kB / 0.6811 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3541, allocations: 5.109 kB / 0.6811 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3541, allocations: 0 / 0.6811 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3541, allocations: 1.188 kB / 0.6811 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.3545, allocations: 188.9 kB / 0.6813 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.3546, allocations: 84.31 kB / 0.6813 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.3546, allocations: 9.031 kB / 0.6814 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.3548, allocations: 12.23 kB / 0.6814 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.3548, allocations: 13.89 kB / 0.6814 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.3548, allocations: 6.234 kB / 0.6814 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.526e-05/0.3549, allocations: 108.3 kB / 0.6815 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3549, allocations: 5.219 kB / 0.6815 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002331/0.3552, allocations: 35.75 kB / 0.6815 GB, free: 11.7 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.0007365/0.3559, allocations: 0.7322 MB / 0.6822 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.3564, allocations: 189.5 kB / 0.6824 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3564, allocations: 0 / 0.6824 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.3566, allocations: 62.14 kB / 0.6825 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.3568, allocations: 8.688 kB / 0.6825 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.359, allocations: 1.724 MB / 0.6842 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.3592, allocations: 0.6988 MB / 0.6849 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.341e-05/0.3593, allocations: 15.78 kB / 0.6849 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.3594, allocations: 24.09 kB / 0.6849 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.3594, allocations: 0 / 0.6849 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.3753, allocations: 2.771 MB / 0.6876 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.981/7.356, allocations: 17.31 kB / 0.6876 GB, free: 7.254 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)