Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_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.001266/0.001266, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001531/0.001531, allocations: 193.9 kB / 16.14 MB, free: 6.707 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.271/1.271, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002081/0.002081, allocations: 282.9 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8874/0.8874, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 99.52 kB / 0.5946 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1325, allocations: 86.98 MB / 0.6795 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002478/0.135, allocations: 1.862 MB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002312/0.1353, allocations: 129.2 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.546e-05/0.1354, allocations: 4 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.582e-05/0.1355, allocations: 11.92 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.127e-05/0.1355, allocations: 45.83 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.045e-05/0.1356, allocations: 27.97 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1358, allocations: 167.1 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.955e-05/0.1359, allocations: 23.33 kB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.249e-05/0.136, allocations: 55.77 kB / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.096e-05/0.1361, allocations: 65.19 kB / 0.6819 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.1361, allocations: 7.938 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.433e-05/0.1361, allocations: 8 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.1361, allocations: 15.92 kB / 0.6819 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.1362, allocations: 64.28 kB / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.1363, allocations: 127.5 kB / 0.6821 GB, free: 14.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.1363, allocations: 3.938 kB / 0.6821 GB, free: 14.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.1364, allocations: 0 / 0.6821 GB, free: 14.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.1364, allocations: 0 / 0.6821 GB, free: 14.5 MB / 494.1 MB 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.0006575/0.137, allocations: 442.9 kB / 0.6825 GB, free: 14.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1371, allocations: 12.03 kB / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.1371, allocations: 42.73 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.1371, allocations: 12.84 kB / 0.6826 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.1373, allocations: 206.1 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.1374, allocations: 8.375 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.1374, allocations: 4.375 kB / 0.6828 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.1377, allocations: 122.3 kB / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1377, allocations: 3.938 kB / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1377, allocations: 12 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.1377, allocations: 0 / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.138, allocations: 91.92 kB / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.1387, allocations: 476.6 kB / 0.6834 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.139, allocations: 129.2 kB / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.1392, allocations: 61.78 kB / 0.6836 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.1392, allocations: 7.984 kB / 0.6836 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.1392, allocations: 42.55 kB / 0.6837 GB, free: 12.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.1392, allocations: 0 / 0.6837 GB, free: 12.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005105/0.1397, allocations: 173.5 kB / 0.6838 GB, free: 12.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.1398, allocations: 81.11 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1399, allocations: 180.5 kB / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.14, allocations: 25.7 kB / 0.6841 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.14, allocations: 100.1 kB / 0.6842 GB, free: 12.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.1401, allocations: 31.55 kB / 0.6842 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.1401, allocations: 21.72 kB / 0.6843 GB, free: 12.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1402, allocations: 334.7 kB / 0.6846 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.1404, allocations: 43.97 kB / 0.6846 GB, free: 11.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.1405, allocations: 61.62 kB / 0.6847 GB, free: 11.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.1408, allocations: 97.67 kB / 0.6848 GB, free: 11.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1408, allocations: 0 / 0.6848 GB, free: 11.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003182/0.1411, allocations: 157.3 kB / 0.6849 GB, free: 11.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1411, allocations: 8 kB / 0.6849 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1411, allocations: 0 / 0.6849 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.1411, allocations: 0 / 0.6849 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.1413, allocations: 19.98 kB / 0.685 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.1413, allocations: 4 kB / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.1414, allocations: 16.23 kB / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1414, allocations: 8 kB / 0.685 GB, free: 11.26 MB / 494.1 MB 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.05e-05/0.1415, allocations: 118.5 kB / 0.6851 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.1416, allocations: 15.81 kB / 0.6851 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.142, allocations: 162.5 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.142, allocations: 4 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.142, allocations: 0 / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.142, allocations: 7.938 kB / 0.6853 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.1423, allocations: 221.7 kB / 0.6855 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1423, allocations: 0 / 0.6855 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.1424, allocations: 19.98 kB / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1424, allocations: 0 / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1424, allocations: 4 kB / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1424, allocations: 0 / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1424, allocations: 3.984 kB / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.1428, allocations: 318.5 kB / 0.6858 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.1429, allocations: 92.92 kB / 0.6859 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1429, allocations: 0 / 0.6859 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.1431, allocations: 7.984 kB / 0.6859 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.1431, allocations: 15.86 kB / 0.6859 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.1431, allocations: 12 kB / 0.6859 GB, free: 10.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.043e-05/0.1432, allocations: 124.8 kB / 0.6861 GB, free: 10.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1432, allocations: 0 / 0.6861 GB, free: 10.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1435, allocations: 32 kB / 0.6861 GB, free: 10.02 MB / 494.1 MB 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.0006082/0.1441, allocations: 0.8407 MB / 0.6869 GB, free: 9.152 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.1445, allocations: 99.88 kB / 0.687 GB, free: 9.055 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1445, allocations: 0 / 0.687 GB, free: 9.055 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.1446, allocations: 55.95 kB / 0.6871 GB, free: 9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.1451, allocations: 40.67 kB / 0.6871 GB, free: 8.961 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.1471, allocations: 1.859 MB / 0.6889 GB, free: 7.012 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.1474, allocations: 0.7048 MB / 0.6896 GB, free: 6.281 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.623e-05/0.1475, allocations: 12.64 kB / 0.6896 GB, free: 6.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.1475, allocations: 39.42 kB / 0.6897 GB, free: 6.23 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1475, allocations: 0 / 0.6897 GB, free: 6.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5577/0.7053, allocations: 3.332 MB / 0.6929 GB, free: 3.094 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/0.7055, allocations: 232.8 kB / 0.6931 GB, free: 2.84 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.95/3.655, allocations: 0 / 0.6931 GB, free: 2.84 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)