Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_dev_IDEAS_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.001234/0.001234, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001232/0.001232, allocations: 195.8 kB / 16.14 MB, free: 6.688 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.228/1.228, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8905/0.8905, allocations: 135.1 MB / 425.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 60.16 kB / 0.5048 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1377, allocations: 80.92 MB / 0.5838 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002956/0.1407, allocations: 1.88 MB / 0.5856 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002983/0.141, allocations: 123.6 kB / 0.5858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.148e-05/0.1411, allocations: 0 / 0.5858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.1412, allocations: 7.922 kB / 0.5858 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.1413, allocations: 47.61 kB / 0.5858 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.1414, allocations: 27.97 kB / 0.5858 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.1416, allocations: 167.1 kB / 0.586 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1417, allocations: 21.12 kB / 0.586 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.567e-05/0.1418, allocations: 55.83 kB / 0.5861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.214e-05/0.1419, allocations: 63.69 kB / 0.5861 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.142, allocations: 4 kB / 0.5861 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.487e-05/0.142, allocations: 4 kB / 0.5861 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.142, allocations: 19.92 kB / 0.5862 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.1e-05/0.1421, allocations: 63.66 kB / 0.5862 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.1422, allocations: 115.9 kB / 0.5863 GB, free: 2.324 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1423, allocations: 3.938 kB / 0.5863 GB, free: 2.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1423, allocations: 0 / 0.5863 GB, free: 2.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1423, allocations: 3.938 kB / 0.5863 GB, free: 2.316 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.0008274/0.1431, allocations: 454.8 kB / 0.5868 GB, free: 1.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1431, allocations: 8.031 kB / 0.5868 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.1432, allocations: 46.73 kB / 0.5868 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.1432, allocations: 16.75 kB / 0.5868 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.1435, allocations: 200.1 kB / 0.587 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1435, allocations: 8.375 kB / 0.587 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.1435, allocations: 4.375 kB / 0.587 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.1438, allocations: 123.8 kB / 0.5872 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1438, allocations: 3.938 kB / 0.5872 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1438, allocations: 4 kB / 0.5872 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1438, allocations: 4 kB / 0.5872 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.1441, allocations: 91.94 kB / 0.5873 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007054/0.1448, allocations: 480.6 kB / 0.5877 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.1452, allocations: 125.2 kB / 0.5878 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.1453, allocations: 65.78 kB / 0.5879 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.1454, allocations: 4 kB / 0.5879 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1454, allocations: 34.56 kB / 0.5879 GB, free: 492 kB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.133e-06/0.1454, allocations: 0 / 0.5879 GB, free: 492 kB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005433/0.146, allocations: 185.3 kB / 0.5881 GB, free: 300 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.146, allocations: 85.11 kB / 0.5882 GB, free: 196 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.1462, allocations: 164.9 kB / 0.5883 GB, free: 24 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.1462, allocations: 25.7 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.1463, allocations: 112 kB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.1463, allocations: 31.55 kB / 0.5885 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.1464, allocations: 21.72 kB / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1465, allocations: 330.7 kB / 0.5888 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.1466, allocations: 43.97 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1468, allocations: 61.67 kB / 0.5889 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.147, allocations: 101.9 kB / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.147, allocations: 0 / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000343/0.1474, allocations: 145.5 kB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1474, allocations: 6.5 kB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1474, allocations: 0 / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1474, allocations: 4 kB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.1476, allocations: 23.97 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1476, allocations: 3.938 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.1477, allocations: 27.77 kB / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.1478, allocations: 8 kB / 0.5893 GB, free: 15.05 MB / 0.4981 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.27e-05/0.1478, allocations: 113.8 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.1479, allocations: 7.906 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/0.1483, allocations: 158.5 kB / 0.5895 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1483, allocations: 0 / 0.5895 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1483, allocations: 8.188 kB / 0.5895 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1483, allocations: 7.922 kB / 0.5895 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.1486, allocations: 225.4 kB / 0.5897 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.1486, allocations: 4 kB / 0.5898 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.1488, allocations: 19.98 kB / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1488, allocations: 0 / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.1488, allocations: 4 kB / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1488, allocations: 192 / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1489, allocations: 8 kB / 0.5898 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.1492, allocations: 314.5 kB / 0.5901 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.1493, allocations: 88.92 kB / 0.5902 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.1493, allocations: 4 kB / 0.5902 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.1495, allocations: 7.984 kB / 0.5902 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.1495, allocations: 19.86 kB / 0.5902 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.1496, allocations: 4 kB / 0.5902 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001013/0.1497, allocations: 132.8 kB / 0.5903 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1497, allocations: 0 / 0.5903 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002728/0.1499, allocations: 28 kB / 0.5904 GB, free: 13.82 MB / 0.4981 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.0006459/0.1506, allocations: 0.8404 MB / 0.5912 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003049/0.1509, allocations: 104.1 kB / 0.5913 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.1509, allocations: 0 / 0.5913 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.1511, allocations: 51.97 kB / 0.5913 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.1515, allocations: 48.11 kB / 0.5914 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.1537, allocations: 1.852 MB / 0.5932 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.1541, allocations: 0.7086 MB / 0.5939 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.379e-05/0.1542, allocations: 12.66 kB / 0.5939 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.611e-05/0.1543, allocations: 35.42 kB / 0.5939 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1543, allocations: 0 / 0.5939 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4136/0.5679, allocations: 3.306 MB / 0.5971 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/0.5682, allocations: 216.5 kB / 0.5974 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.195, allocations: 0 / 0.5974 GB, free: 6.637 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)