Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.006582/0.006583, allocations: 96.11 kB / 15.73 MB, free: 6.039 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.001552/0.001552, allocations: 201.1 kB / 16.68 MB, free: 5.969 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.244/1.244, allocations: 222.9 MB / 240.4 MB, free: 4.363 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.8915/0.8915, allocations: 143 MB / 433.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 63.89 kB / 0.595 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3363, allocations: 82.03 MB / 0.6751 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002222/0.3386, allocations: 1.813 MB / 0.6769 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002544/0.3388, allocations: 127.3 kB / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.033e-05/0.3389, allocations: 1.031 kB / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.523e-05/0.339, allocations: 15.8 kB / 0.677 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.244e-05/0.3391, allocations: 50.42 kB / 0.6771 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001108/0.3392, allocations: 35.36 kB / 0.6771 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3394, allocations: 177.2 kB / 0.6773 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3395, allocations: 24.16 kB / 0.6773 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.678e-05/0.3396, allocations: 54.19 kB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.335e-05/0.3397, allocations: 67.78 kB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.3397, allocations: 9.594 kB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.271e-05/0.3398, allocations: 14.62 kB / 0.6775 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.3398, allocations: 26.06 kB / 0.6775 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.3399, allocations: 68.03 kB / 0.6775 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.34, allocations: 128.6 kB / 0.6777 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.34, allocations: 5.031 kB / 0.6777 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.092e-06/0.34, allocations: 0 / 0.6777 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.3401, allocations: 0 / 0.6777 GB, free: 15.18 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007009/0.3408, allocations: 461 kB / 0.6781 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3408, allocations: 9.75 kB / 0.6781 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.3408, allocations: 36.72 kB / 0.6782 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.3409, allocations: 16.06 kB / 0.6782 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.3411, allocations: 206.2 kB / 0.6784 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3411, allocations: 11.06 kB / 0.6784 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.3411, allocations: 8.656 kB / 0.6784 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.3414, allocations: 120.6 kB / 0.6785 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3414, allocations: 5.094 kB / 0.6785 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3414, allocations: 0 / 0.6785 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3415, allocations: 2.5 kB / 0.6785 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.3417, allocations: 102.9 kB / 0.6786 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006279/0.3424, allocations: 469.5 kB / 0.6791 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.3427, allocations: 131.6 kB / 0.6792 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.3429, allocations: 61.38 kB / 0.6792 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.3429, allocations: 2.312 kB / 0.6792 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.343, allocations: 35.72 kB / 0.6793 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.343, allocations: 0 / 0.6793 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0005444/0.3435, allocations: 185.6 kB / 0.6794 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.3436, allocations: 82.17 kB / 0.6795 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.3437, allocations: 171.6 kB / 0.6797 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.3437, allocations: 26.86 kB / 0.6797 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.3438, allocations: 108.7 kB / 0.6798 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.3438, allocations: 31.31 kB / 0.6799 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.3439, allocations: 24.61 kB / 0.6799 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.344, allocations: 333.8 kB / 0.6802 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.3441, allocations: 38.56 kB / 0.6802 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.3443, allocations: 55.69 kB / 0.6803 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.3445, allocations: 111.3 kB / 0.6804 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3446, allocations: 0 / 0.6804 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003322/0.3449, allocations: 142.1 kB / 0.6805 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3449, allocations: 4.844 kB / 0.6805 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3449, allocations: 0 / 0.6805 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3449, allocations: 5.188 kB / 0.6805 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3451, allocations: 26.05 kB / 0.6806 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3451, allocations: 1.125 kB / 0.6806 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.3452, allocations: 27.05 kB / 0.6806 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3453, allocations: 6 kB / 0.6806 GB, free: 12.58 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.055e-05/0.3453, allocations: 115.7 kB / 0.6807 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.3454, allocations: 19.02 kB / 0.6807 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004031/0.3458, allocations: 164.9 kB / 0.6809 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3458, allocations: 2.875 kB / 0.6809 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3458, allocations: 3.938 kB / 0.6809 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3458, allocations: 5.406 kB / 0.6809 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.3461, allocations: 215.8 kB / 0.6811 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3461, allocations: 0 / 0.6811 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.3463, allocations: 23.59 kB / 0.6811 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3463, allocations: 1.188 kB / 0.6811 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.3463, allocations: 5.281 kB / 0.6811 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3463, allocations: 5.312 kB / 0.6811 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3463, allocations: 5.531 kB / 0.6811 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.3467, allocations: 308.4 kB / 0.6814 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.3467, allocations: 96.56 kB / 0.6815 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.3468, allocations: 0.9062 kB / 0.6815 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.3469, allocations: 9.75 kB / 0.6815 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.347, allocations: 15.77 kB / 0.6815 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.347, allocations: 2.375 kB / 0.6815 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.025e-05/0.3471, allocations: 129.2 kB / 0.6817 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3471, allocations: 0 / 0.6817 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000276/0.3474, allocations: 25.16 kB / 0.6817 GB, free: 11.59 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000617/0.348, allocations: 0.8441 MB / 0.6825 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003194/0.3483, allocations: 103.1 kB / 0.6826 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3484, allocations: 0 / 0.6826 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.3485, allocations: 59 kB / 0.6827 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.3489, allocations: 49.09 kB / 0.6827 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.351, allocations: 1.832 MB / 0.6845 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.3512, allocations: 0.7065 MB / 0.6852 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.93e-05/0.3513, allocations: 11.66 kB / 0.6852 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.989e-05/0.3514, allocations: 36.92 kB / 0.6852 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.3514, allocations: 4 kB / 0.6852 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.3692, allocations: 3.648 MB / 0.6888 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.045/7.414, allocations: 8.453 kB / 0.6888 GB, free: 6.562 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_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_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)