Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001228/0.001228, allocations: 112.2 kB / 16.42 MB, free: 6.445 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.001125/0.001125, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002158/0.002158, allocations: 291.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9764/0.9764, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 96.08 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.4942, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002908/0.4971, allocations: 1.818 MB / 0.7688 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002636/0.4974, allocations: 117.4 kB / 0.7689 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.956e-05/0.4975, allocations: 0 / 0.7689 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.4976, allocations: 15.8 kB / 0.7689 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.72e-05/0.4977, allocations: 55.55 kB / 0.769 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.4979, allocations: 35.95 kB / 0.769 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.4981, allocations: 171.1 kB / 0.7692 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.4982, allocations: 32.75 kB / 0.7692 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.277e-05/0.4983, allocations: 43.86 kB / 0.7692 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.4984, allocations: 79.69 kB / 0.7693 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.4984, allocations: 8 kB / 0.7693 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.004e-05/0.4984, allocations: 12 kB / 0.7693 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.721e-05/0.4985, allocations: 23.91 kB / 0.7694 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.842e-05/0.4986, allocations: 63.67 kB / 0.7694 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.4987, allocations: 122.2 kB / 0.7695 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.4987, allocations: 11.86 kB / 0.7696 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.216e-06/0.4988, allocations: 0 / 0.7696 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.4988, allocations: 3.938 kB / 0.7696 GB, free: 1.309 MB / 0.5294 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.0007527/0.4995, allocations: 450.8 kB / 0.77 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.4996, allocations: 8.031 kB / 0.77 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.4996, allocations: 12.84 kB / 0.77 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.4999, allocations: 214.3 kB / 0.7702 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.4999, allocations: 4.375 kB / 0.7702 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.4999, allocations: 8.375 kB / 0.7702 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.5002, allocations: 119.8 kB / 0.7703 GB, free: 420 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.5002, allocations: 4.188 kB / 0.7703 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.5003, allocations: 7.938 kB / 0.7703 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.5003, allocations: 0 / 0.7703 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.5006, allocations: 91.92 kB / 0.7704 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007008/0.5013, allocations: 476.6 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.5016, allocations: 137.2 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.5018, allocations: 57.78 kB / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.5019, allocations: 3.984 kB / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.5019, allocations: 34.56 kB / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.5019, allocations: 0 / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.000567/0.5025, allocations: 185.4 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.5025, allocations: 77.11 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.5026, allocations: 168.1 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.5027, allocations: 29.69 kB / 0.7716 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.5027, allocations: 104 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.5028, allocations: 27.64 kB / 0.7717 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.5028, allocations: 29.62 kB / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.503, allocations: 330.8 kB / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.5031, allocations: 39.97 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.5033, allocations: 61.62 kB / 0.7721 GB, free: 14.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.5035, allocations: 101.7 kB / 0.7722 GB, free: 14.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5035, allocations: 0 / 0.7722 GB, free: 14.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003486/0.5039, allocations: 149.7 kB / 0.7724 GB, free: 14.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5039, allocations: 10.5 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.5039, allocations: 0 / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.504, allocations: 192 / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.5041, allocations: 23.92 kB / 0.7724 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.5041, allocations: 11.94 kB / 0.7724 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.5043, allocations: 15.83 kB / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.5043, allocations: 7.984 kB / 0.7724 GB, free: 14.11 MB / 0.545 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 0.0001006/0.5044, allocations: 125.7 kB / 0.7725 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.5044, allocations: 11.91 kB / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000467/0.5049, allocations: 158.5 kB / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5049, allocations: 4 kB / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.5049, allocations: 0 / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.505, allocations: 88.92 kB / 0.7728 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.505, allocations: 7.938 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.5052, allocations: 7.984 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.5052, allocations: 7.984 kB / 0.7728 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004779/0.5057, allocations: 304.2 kB / 0.7731 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004291/0.5062, allocations: 389.8 kB / 0.7735 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001495/0.5063, allocations: 51.97 kB / 0.7735 GB, free: 12.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.817e-05/0.5064, allocations: 129.8 kB / 0.7737 GB, free: 12.79 MB / 0.545 GB Notification: Performance of Backend: time 2.6e-07/0.5064, allocations: 0 / 0.7737 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005618/0.507, allocations: 135.4 kB / 0.7738 GB, free: 12.65 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006471/0.5077, allocations: 0.6803 MB / 0.7744 GB, free: 11.92 MB / 0.545 GB Notification: Performance of Templates: time 0.005153/0.5128, allocations: 2.251 MB / 0.7766 GB, free: 9.711 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)