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.0009513/0.0009515, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001116/0.001116, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.019/1.019, allocations: 135.3 MB / 426.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003581, allocations: 13.64 kB / 0.5071 GB, free: 5.039 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2049, allocations: 82.31 MB / 0.5875 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002119/0.2071, allocations: 1.492 MB / 0.5889 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002577/0.2073, allocations: 119.6 kB / 0.589 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.5e-05/0.2074, allocations: 0 / 0.589 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.101e-05/0.2075, allocations: 7.922 kB / 0.589 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.793e-05/0.2076, allocations: 43.62 kB / 0.5891 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001099/0.2077, allocations: 31.95 kB / 0.5891 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.2079, allocations: 151.1 kB / 0.5893 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.208, allocations: 21.11 kB / 0.5893 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.904e-05/0.2081, allocations: 47.84 kB / 0.5893 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.796e-05/0.2082, allocations: 59.75 kB / 0.5894 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.2082, allocations: 4 kB / 0.5894 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.439e-05/0.2083, allocations: 8 kB / 0.5894 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.2083, allocations: 15.92 kB / 0.5894 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.2083, allocations: 49.64 kB / 0.5895 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.2085, allocations: 84.06 kB / 0.5895 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2085, allocations: 0 / 0.5895 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2085, allocations: 0 / 0.5895 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.2085, allocations: 0 / 0.5895 GB, free: 0.7539 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.0007612/0.2093, allocations: 450.7 kB / 0.59 GB, free: 272 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.2093, allocations: 11.97 kB / 0.59 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.247e-05/0.2094, allocations: 42.55 kB / 0.59 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.2094, allocations: 11.81 kB / 0.59 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.2097, allocations: 202.8 kB / 0.5902 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.2097, allocations: 4 kB / 0.5902 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.2097, allocations: 8 kB / 0.5902 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.21, allocations: 130.9 kB / 0.5904 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.21, allocations: 3.984 kB / 0.5904 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.2101, allocations: 7.938 kB / 0.5904 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2101, allocations: 0 / 0.5904 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.2104, allocations: 107.9 kB / 0.5905 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007499/0.2111, allocations: 480.6 kB / 0.5909 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.2115, allocations: 137.2 kB / 0.5911 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.2117, allocations: 65.78 kB / 0.5911 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.2117, allocations: 0 / 0.5911 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.2118, allocations: 42.56 kB / 0.5912 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 8.32e-07/0.2118, allocations: 0 / 0.5912 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005948/0.2124, allocations: 205.3 kB / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.2125, allocations: 85.11 kB / 0.5914 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.2127, allocations: 164.9 kB / 0.5916 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.2127, allocations: 25.7 kB / 0.5916 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.2128, allocations: 112.2 kB / 0.5917 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.2128, allocations: 35.61 kB / 0.5918 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.2128, allocations: 4 kB / 0.5918 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.213, allocations: 326.8 kB / 0.5921 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.2131, allocations: 43.97 kB / 0.5921 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.2133, allocations: 69.62 kB / 0.5922 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.2134, allocations: 55.97 kB / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2134, allocations: 0 / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003394/0.2138, allocations: 161.8 kB / 0.5924 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2138, allocations: 8 kB / 0.5924 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.2138, allocations: 0 / 0.5924 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2138, allocations: 3.953 kB / 0.5924 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.214, allocations: 27.98 kB / 0.5924 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.214, allocations: 0 / 0.5924 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.2141, allocations: 19.89 kB / 0.5925 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.2142, allocations: 4 kB / 0.5925 GB, free: 13.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.2143, allocations: 117.8 kB / 0.5926 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.2143, allocations: 12.08 kB / 0.5926 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004233/0.2148, allocations: 174.5 kB / 0.5927 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2148, allocations: 7.938 kB / 0.5928 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.2148, allocations: 3.953 kB / 0.5928 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2148, allocations: 4 kB / 0.5928 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.2151, allocations: 225.5 kB / 0.593 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2151, allocations: 3.938 kB / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.2153, allocations: 27.92 kB / 0.593 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2153, allocations: 0 / 0.593 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.2153, allocations: 0 / 0.593 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.2153, allocations: 7.984 kB / 0.593 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2153, allocations: 0 / 0.593 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.2157, allocations: 326.6 kB / 0.5933 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.2158, allocations: 93.14 kB / 0.5934 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.2158, allocations: 4 kB / 0.5934 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.216, allocations: 15.98 kB / 0.5934 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.2161, allocations: 7.984 kB / 0.5934 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.2161, allocations: 7.953 kB / 0.5934 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001062/0.2162, allocations: 136.7 kB / 0.5936 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2162, allocations: 0 / 0.5936 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002804/0.2165, allocations: 24 kB / 0.5936 GB, free: 12.22 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007416/0.2172, allocations: 0.8561 MB / 0.5944 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003323/0.2176, allocations: 128.1 kB / 0.5946 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2176, allocations: 0 / 0.5946 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.2177, allocations: 63.91 kB / 0.5946 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.2183, allocations: 40.09 kB / 0.5947 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.2197, allocations: 0.8357 MB / 0.5955 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.22, allocations: 0.7009 MB / 0.5962 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.501e-05/0.2201, allocations: 16.59 kB / 0.5962 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.2202, allocations: 31.42 kB / 0.5962 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.2202, allocations: 4 kB / 0.5962 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/0.2337, allocations: 3.21 MB / 0.5993 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.2339, allocations: 208.3 kB / 0.5995 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.09, allocations: 3.234 kB / 0.5995 GB, free: 6.18 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/linux/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) Environment - environmentSimulation: