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.0008859/0.0008859, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009461/0.0009462, allocations: 177.3 kB / 15.94 MB, free: 228 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.462/1.462, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9455/0.9455, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003758, allocations: 12 kB / 0.5069 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2297, allocations: 82.31 MB / 0.5873 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002142/0.2319, allocations: 1.444 MB / 0.5887 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000291/0.2322, allocations: 131.6 kB / 0.5888 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.2323, allocations: 4 kB / 0.5888 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.2323, allocations: 7.922 kB / 0.5888 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.2325, allocations: 55.81 kB / 0.5889 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.2326, allocations: 23.97 kB / 0.5889 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.2329, allocations: 123.7 kB / 0.589 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.233, allocations: 25.05 kB / 0.589 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.969e-05/0.2331, allocations: 39.86 kB / 0.5891 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.2332, allocations: 67.67 kB / 0.5891 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.2332, allocations: 4 kB / 0.5891 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.237e-05/0.2333, allocations: 4 kB / 0.5891 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.2333, allocations: 19.92 kB / 0.5892 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.2334, allocations: 49.64 kB / 0.5892 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.2335, allocations: 84.06 kB / 0.5893 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2335, allocations: 0 / 0.5893 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.2335, allocations: 0 / 0.5893 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2335, allocations: 0 / 0.5893 GB, free: 0.9414 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.0008763/0.2344, allocations: 446.7 kB / 0.5897 GB, free: 468 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.2345, allocations: 12.03 kB / 0.5897 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.23e-05/0.2345, allocations: 34.56 kB / 0.5898 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.2346, allocations: 15.81 kB / 0.5898 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.2349, allocations: 202.8 kB / 0.59 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.2349, allocations: 4 kB / 0.59 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.2349, allocations: 8 kB / 0.59 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.2352, allocations: 126.7 kB / 0.5901 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2352, allocations: 0 / 0.5901 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.2353, allocations: 0 / 0.5901 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2353, allocations: 4 kB / 0.5901 GB, free: 0 / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.2356, allocations: 119.8 kB / 0.5902 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008818/0.2365, allocations: 476.8 kB / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.2369, allocations: 133.4 kB / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/0.237, allocations: 7.984 kB / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.237, allocations: 42.5 kB / 0.5909 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.237, allocations: 0 / 0.5909 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000599/0.2376, allocations: 201.3 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.2377, allocations: 85.11 kB / 0.5911 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.2379, allocations: 164.9 kB / 0.5913 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.2379, allocations: 29.7 kB / 0.5913 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.238, allocations: 116.2 kB / 0.5914 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.238, allocations: 31.62 kB / 0.5915 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.238, allocations: 3.938 kB / 0.5915 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2382, allocations: 322.8 kB / 0.5918 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.2383, allocations: 47.97 kB / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.2385, allocations: 73.61 kB / 0.5919 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.2387, allocations: 47.98 kB / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2387, allocations: 0 / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003535/0.239, allocations: 157.5 kB / 0.5921 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.2391, allocations: 4 kB / 0.5921 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2391, allocations: 7.984 kB / 0.5921 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2391, allocations: 4 kB / 0.5921 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.2393, allocations: 31.92 kB / 0.5921 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.2393, allocations: 3.953 kB / 0.5921 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.2394, allocations: 19.89 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.2394, allocations: 0 / 0.5921 GB, free: 13.77 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.0001054/0.2396, allocations: 127.6 kB / 0.5923 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.2396, allocations: 7.906 kB / 0.5923 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004353/0.24, allocations: 178.4 kB / 0.5924 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2401, allocations: 0 / 0.5924 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2401, allocations: 4 kB / 0.5924 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2401, allocations: 3.953 kB / 0.5924 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.2404, allocations: 218 kB / 0.5927 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2404, allocations: 4 kB / 0.5927 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.2406, allocations: 27.98 kB / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2406, allocations: 0 / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2406, allocations: 0 / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2406, allocations: 4 kB / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.2406, allocations: 4 kB / 0.5927 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004436/0.2411, allocations: 336.3 kB / 0.593 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.2411, allocations: 88.92 kB / 0.5931 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.2412, allocations: 8 kB / 0.5931 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.2414, allocations: 11.98 kB / 0.5931 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/0.2414, allocations: 15.88 kB / 0.5931 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.2415, allocations: 4 kB / 0.5931 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.832e-05/0.2416, allocations: 136.8 kB / 0.5933 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2416, allocations: 0 / 0.5933 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002793/0.2418, allocations: 28 kB / 0.5933 GB, free: 12.48 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.0007563/0.2426, allocations: 0.9384 MB / 0.5942 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.243, allocations: 119.9 kB / 0.5943 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.243, allocations: 0 / 0.5943 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.2432, allocations: 59.97 kB / 0.5944 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.2435, allocations: 45.28 kB / 0.5944 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.2452, allocations: 0.9828 MB / 0.5954 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.2456, allocations: 0.7087 MB / 0.5961 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.265e-05/0.2457, allocations: 12.66 kB / 0.5961 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.366e-05/0.2457, allocations: 31.42 kB / 0.5961 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2457, allocations: 0 / 0.5961 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2472/0.493, allocations: 3.19 MB / 0.5992 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002889/0.4933, allocations: 202.4 kB / 0.5994 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.415, allocations: 2.812 kB / 0.5994 GB, free: 6.234 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: