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.005419/0.005419, allocations: 104.6 kB / 15.74 MB, free: 6.039 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.001362/0.001362, allocations: 196 kB / 16.68 MB, free: 5.957 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8474/0.8474, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 65.48 kB / 0.5851 GB, free: 21.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1935, allocations: 80.93 MB / 0.6641 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003256/0.1968, allocations: 1.823 MB / 0.6659 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003808/0.1972, allocations: 111.6 kB / 0.666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1973, allocations: 7.938 kB / 0.666 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.1974, allocations: 15.86 kB / 0.666 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.1976, allocations: 43.56 kB / 0.6661 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.1978, allocations: 35.95 kB / 0.6661 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.198, allocations: 175.1 kB / 0.6663 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.1982, allocations: 25.11 kB / 0.6663 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1983, allocations: 47.86 kB / 0.6663 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.1984, allocations: 71.69 kB / 0.6664 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.1985, allocations: 12 kB / 0.6664 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.594e-05/0.1985, allocations: 8 kB / 0.6664 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.1985, allocations: 27.91 kB / 0.6665 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.1986, allocations: 71.59 kB / 0.6665 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.1988, allocations: 127.2 kB / 0.6666 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1988, allocations: 8 kB / 0.6667 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1988, allocations: 0 / 0.6667 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.1989, allocations: 0 / 0.6667 GB, free: 3.723 MB / 0.4981 GB 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.0008127/0.1997, allocations: 446.9 kB / 0.6671 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1997, allocations: 9.109 kB / 0.6671 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.82e-05/0.1998, allocations: 38.75 kB / 0.6671 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.1998, allocations: 16.75 kB / 0.6671 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.2001, allocations: 208 kB / 0.6673 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2001, allocations: 384 / 0.6673 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.2002, allocations: 12.38 kB / 0.6674 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.2005, allocations: 115.8 kB / 0.6675 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2005, allocations: 3.938 kB / 0.6675 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.2005, allocations: 4 kB / 0.6675 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2005, allocations: 11.94 kB / 0.6675 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.2008, allocations: 95.86 kB / 0.6676 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008034/0.2016, allocations: 472.8 kB / 0.668 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.202, allocations: 125.1 kB / 0.6681 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.2022, allocations: 61.78 kB / 0.6682 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.2022, allocations: 4 kB / 0.6682 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.2023, allocations: 38.5 kB / 0.6682 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.2023, allocations: 0 / 0.6682 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006226/0.2029, allocations: 181.4 kB / 0.6684 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.203, allocations: 77.11 kB / 0.6685 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.2031, allocations: 174.9 kB / 0.6687 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.2031, allocations: 33.7 kB / 0.6687 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.2032, allocations: 108 kB / 0.6688 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.2033, allocations: 31.62 kB / 0.6688 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.2033, allocations: 29.64 kB / 0.6689 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2034, allocations: 326.8 kB / 0.6692 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.2036, allocations: 43.97 kB / 0.6692 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.2038, allocations: 57.69 kB / 0.6693 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.2041, allocations: 113.8 kB / 0.6694 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2041, allocations: 0 / 0.6694 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003631/0.2044, allocations: 145.5 kB / 0.6695 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2045, allocations: 4 kB / 0.6695 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2045, allocations: 0 / 0.6695 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2045, allocations: 4 kB / 0.6695 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.2046, allocations: 23.92 kB / 0.6695 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.2047, allocations: 0 / 0.6695 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.2048, allocations: 15.92 kB / 0.6696 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.2048, allocations: 0 / 0.6696 GB, free: 492 kB / 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 9.125e-05/0.2049, allocations: 125.8 kB / 0.6697 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.205, allocations: 11.81 kB / 0.6697 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004387/0.2054, allocations: 158.5 kB / 0.6698 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.2054, allocations: 0 / 0.6698 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.2054, allocations: 4 kB / 0.6698 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.2054, allocations: 3.938 kB / 0.6698 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.2058, allocations: 217.5 kB / 0.6701 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2058, allocations: 4.188 kB / 0.6701 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.206, allocations: 32.09 kB / 0.6701 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.206, allocations: 3.938 kB / 0.6701 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.206, allocations: 4 kB / 0.6701 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.206, allocations: 0 / 0.6701 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.206, allocations: 4 kB / 0.6701 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004996/0.2065, allocations: 314.5 kB / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.2066, allocations: 89 kB / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.2066, allocations: 4 kB / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.2068, allocations: 11.98 kB / 0.6705 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.2069, allocations: 7.938 kB / 0.6705 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.2069, allocations: 0 / 0.6705 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001125/0.207, allocations: 133.7 kB / 0.6706 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.207, allocations: 4 kB / 0.6706 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002964/0.2073, allocations: 31.91 kB / 0.6707 GB, free: 15.24 MB / 0.5137 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.0007139/0.208, allocations: 0.8379 MB / 0.6715 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003472/0.2084, allocations: 107.9 kB / 0.6716 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2084, allocations: 0 / 0.6716 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.2086, allocations: 55.91 kB / 0.6716 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.209, allocations: 50.28 kB / 0.6717 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.2114, allocations: 1.823 MB / 0.6735 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.2118, allocations: 0.7006 MB / 0.6742 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.992e-05/0.2119, allocations: 24.73 kB / 0.6742 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.158e-05/0.212, allocations: 35.42 kB / 0.6742 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of SimCode: time 4.6e-07/0.212, allocations: 0 / 0.6742 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.2345, allocations: 3.699 MB / 0.6778 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/8.095, allocations: 8.812 kB / 0.6778 GB, free: 7.91 MB / 0.5137 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)