Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 108.2 kB / 16.37 MB, free: 6.477 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.001023/0.001023, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7609/0.7609, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.91 kB / 0.5032 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3121, allocations: 80.19 MB / 0.5815 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002467/0.3146, allocations: 1.815 MB / 0.5833 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002412/0.3149, allocations: 120.8 kB / 0.5834 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.418e-05/0.315, allocations: 5.188 kB / 0.5834 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.7e-05/0.3151, allocations: 16.7 kB / 0.5834 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.591e-05/0.3152, allocations: 51.23 kB / 0.5835 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.3153, allocations: 36.36 kB / 0.5835 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.3155, allocations: 175.9 kB / 0.5837 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.973e-05/0.3156, allocations: 20.48 kB / 0.5837 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.567e-05/0.3156, allocations: 50.23 kB / 0.5837 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.248e-05/0.3157, allocations: 72.66 kB / 0.5838 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.3158, allocations: 9.625 kB / 0.5838 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.503e-05/0.3158, allocations: 10.47 kB / 0.5838 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/0.3158, allocations: 26.36 kB / 0.5838 GB, free: 25.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.3159, allocations: 64.67 kB / 0.5839 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.316, allocations: 128.8 kB / 0.584 GB, free: 25.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.316, allocations: 2.219 kB / 0.584 GB, free: 25.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3161, allocations: 0 / 0.584 GB, free: 25.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.3161, allocations: 0 / 0.584 GB, free: 25.53 MB / 446.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.0006403/0.3167, allocations: 453.8 kB / 0.5845 GB, free: 25.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.3168, allocations: 8.5 kB / 0.5845 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.3168, allocations: 16.41 kB / 0.5845 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.317, allocations: 212 kB / 0.5847 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.317, allocations: 4.812 kB / 0.5847 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.317, allocations: 8.656 kB / 0.5847 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.3173, allocations: 121.8 kB / 0.5848 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.3173, allocations: 1.5 kB / 0.5848 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3173, allocations: 3.938 kB / 0.5848 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3173, allocations: 3.781 kB / 0.5848 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.3176, allocations: 99.08 kB / 0.5849 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.3182, allocations: 472.9 kB / 0.5854 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.3185, allocations: 126.4 kB / 0.5855 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.3186, allocations: 67.75 kB / 0.5855 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.3187, allocations: 8.531 kB / 0.5856 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/0.3187, allocations: 34.88 kB / 0.5856 GB, free: 24.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.3187, allocations: 1.031 kB / 0.5856 GB, free: 24.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005058/0.3192, allocations: 179.6 kB / 0.5858 GB, free: 23.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.3192, allocations: 80.67 kB / 0.5858 GB, free: 23.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3194, allocations: 174.4 kB / 0.586 GB, free: 23.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.3194, allocations: 31.17 kB / 0.586 GB, free: 23.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.3194, allocations: 104.4 kB / 0.5861 GB, free: 23.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.3195, allocations: 33.77 kB / 0.5862 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.3195, allocations: 28.23 kB / 0.5862 GB, free: 23.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.609e-05/0.3196, allocations: 325.7 kB / 0.5865 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.3197, allocations: 43.31 kB / 0.5865 GB, free: 23.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.3198, allocations: 64.22 kB / 0.5866 GB, free: 23.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.3201, allocations: 99.02 kB / 0.5867 GB, free: 23.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3201, allocations: 0 / 0.5867 GB, free: 23.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003055/0.3204, allocations: 145.8 kB / 0.5868 GB, free: 23.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3204, allocations: 5.719 kB / 0.5868 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3204, allocations: 1.281 kB / 0.5868 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3204, allocations: 0.8125 kB / 0.5868 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.3206, allocations: 26.14 kB / 0.5869 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3206, allocations: 1.938 kB / 0.5869 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.3207, allocations: 18.55 kB / 0.5869 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.3207, allocations: 10.5 kB / 0.5869 GB, free: 23 MB / 446.1 MB 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 6.2e-05/0.3208, allocations: 119.9 kB / 0.587 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.3209, allocations: 19.88 kB / 0.587 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003644/0.3212, allocations: 155.4 kB / 0.5872 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3212, allocations: 2.594 kB / 0.5872 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3213, allocations: 0 / 0.5872 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3213, allocations: 5.281 kB / 0.5872 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.3215, allocations: 219.7 kB / 0.5874 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3215, allocations: 1.312 kB / 0.5874 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.3216, allocations: 21.83 kB / 0.5874 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3217, allocations: 1.5 kB / 0.5874 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3217, allocations: 1.469 kB / 0.5874 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3217, allocations: 3.984 kB / 0.5874 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3217, allocations: 1.969 kB / 0.5874 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.322, allocations: 315.4 kB / 0.5877 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.322, allocations: 84.7 kB / 0.5878 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.3221, allocations: 5.188 kB / 0.5878 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.3223, allocations: 16.98 kB / 0.5878 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.3223, allocations: 7.578 kB / 0.5878 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.3223, allocations: 6.531 kB / 0.5878 GB, free: 22.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.918e-05/0.3224, allocations: 127.3 kB / 0.588 GB, free: 22.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3224, allocations: 0 / 0.588 GB, free: 22.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.3227, allocations: 28.03 kB / 0.588 GB, free: 22.03 MB / 446.1 MB 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 7.403e-05/0.3228, allocations: 107.8 kB / 0.5881 GB, free: 21.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.3231, allocations: 100.8 kB / 0.5882 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3231, allocations: 1.062 kB / 0.5882 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.3232, allocations: 59.25 kB / 0.5883 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.3236, allocations: 44.48 kB / 0.5883 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.3241, allocations: 233.1 kB / 0.5885 GB, free: 21.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.3242, allocations: 0.7039 MB / 0.5892 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.963e-05/0.3243, allocations: 21.28 kB / 0.5892 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.3243, allocations: 14.12 kB / 0.5892 GB, free: 20.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3243, allocations: 0 / 0.5892 GB, free: 20.93 MB / 446.1 MB Notification: Performance of Templates: time 0.7613/1.086, allocations: 2.097 MB / 0.5913 GB, free: 19.88 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)