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.0007868/0.0007868, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005301/0.005301, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.435/1.435, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9171/0.9171, allocations: 135.3 MB / 426.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003532, allocations: 8.875 kB / 0.5077 GB, free: 4.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1752, allocations: 82.3 MB / 0.5881 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001808/0.177, allocations: 1.523 MB / 0.5895 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003235/0.1774, allocations: 123.6 kB / 0.5897 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1775, allocations: 0 / 0.5897 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.473e-05/0.1776, allocations: 11.92 kB / 0.5897 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.1778, allocations: 43.62 kB / 0.5897 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001117/0.1779, allocations: 27.97 kB / 0.5897 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.1781, allocations: 171.1 kB / 0.5899 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1782, allocations: 21.11 kB / 0.5899 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.82e-05/0.1783, allocations: 51.84 kB / 0.59 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1784, allocations: 63.7 kB / 0.59 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.1785, allocations: 7.938 kB / 0.59 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.137e-05/0.1785, allocations: 4 kB / 0.5901 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.1785, allocations: 19.91 kB / 0.5901 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.702e-05/0.1786, allocations: 85.31 kB / 0.5902 GB, free: 416 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.1787, allocations: 115.9 kB / 0.5903 GB, free: 300 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1787, allocations: 0 / 0.5903 GB, free: 300 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1788, allocations: 0 / 0.5903 GB, free: 300 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1788, allocations: 0 / 0.5903 GB, free: 300 kB / 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.0006769/0.1794, allocations: 446.9 kB / 0.5907 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1795, allocations: 12.03 kB / 0.5907 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.1795, allocations: 38.73 kB / 0.5907 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.1796, allocations: 20.75 kB / 0.5908 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.1798, allocations: 200.1 kB / 0.5909 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1798, allocations: 8.375 kB / 0.591 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.1798, allocations: 4.375 kB / 0.591 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.1801, allocations: 127.8 kB / 0.5911 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.1801, allocations: 7.938 kB / 0.5911 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1801, allocations: 0 / 0.5911 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1801, allocations: 4 kB / 0.5911 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.1805, allocations: 103.9 kB / 0.5912 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006528/0.1811, allocations: 488.6 kB / 0.5917 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.1815, allocations: 137.2 kB / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.1817, allocations: 73.78 kB / 0.5919 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1817, allocations: 3.984 kB / 0.5919 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1818, allocations: 38.56 kB / 0.5919 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.1818, allocations: 0 / 0.5919 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005785/0.1823, allocations: 205.3 kB / 0.5921 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.1824, allocations: 81.11 kB / 0.5922 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1825, allocations: 164.9 kB / 0.5923 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1826, allocations: 29.7 kB / 0.5924 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.405e-05/0.1826, allocations: 116 kB / 0.5925 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.1827, allocations: 35.48 kB / 0.5925 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.1827, allocations: 9.719 kB / 0.5925 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.1828, allocations: 330.8 kB / 0.5928 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.183, allocations: 43.97 kB / 0.5929 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.1831, allocations: 69.62 kB / 0.5929 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.1834, allocations: 121.7 kB / 0.5931 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1834, allocations: 0 / 0.5931 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003617/0.1838, allocations: 161.5 kB / 0.5932 GB, free: 13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1838, allocations: 4 kB / 0.5932 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1838, allocations: 0 / 0.5932 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1839, allocations: 0 / 0.5932 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.184, allocations: 27.98 kB / 0.5932 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.184, allocations: 11.91 kB / 0.5932 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.1842, allocations: 23.84 kB / 0.5933 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1842, allocations: 4 kB / 0.5933 GB, free: 12.93 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.138e-05/0.1843, allocations: 117.8 kB / 0.5934 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.1843, allocations: 15.91 kB / 0.5934 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004315/0.1848, allocations: 170.9 kB / 0.5936 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1848, allocations: 0 / 0.5936 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1848, allocations: 4.062 kB / 0.5936 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1848, allocations: 7.938 kB / 0.5936 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.1851, allocations: 225.5 kB / 0.5938 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1851, allocations: 0 / 0.5938 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.1852, allocations: 31.98 kB / 0.5938 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1852, allocations: 0 / 0.5938 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1853, allocations: 7.938 kB / 0.5938 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1853, allocations: 0 / 0.5938 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1853, allocations: 0 / 0.5938 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/0.1857, allocations: 326.6 kB / 0.5941 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.1857, allocations: 92.91 kB / 0.5942 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.1858, allocations: 0 / 0.5942 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.186, allocations: 23.98 kB / 0.5943 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.186, allocations: 11.88 kB / 0.5943 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.186, allocations: 3.984 kB / 0.5943 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.98e-05/0.1861, allocations: 136.8 kB / 0.5944 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1861, allocations: 0 / 0.5944 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002772/0.1864, allocations: 24 kB / 0.5944 GB, free: 11.66 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.0006543/0.1871, allocations: 0.8602 MB / 0.5953 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.1874, allocations: 115.9 kB / 0.5954 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1874, allocations: 0 / 0.5954 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.1876, allocations: 63.97 kB / 0.5954 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.1881, allocations: 39.14 kB / 0.5955 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.1903, allocations: 1.89 MB / 0.5973 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.1906, allocations: 0.7048 MB / 0.598 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.055e-05/0.1907, allocations: 12.64 kB / 0.598 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.1908, allocations: 39.42 kB / 0.5981 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.1908, allocations: 0 / 0.5981 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01491/0.2057, allocations: 3.237 MB / 0.6012 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/0.206, allocations: 215.1 kB / 0.6014 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/2.382, allocations: 0 / 0.6014 GB, free: 4.504 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)