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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007614/0.007614, allocations: 169.6 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7788/0.7788, allocations: 135.2 MB / 151.1 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 223.2 MB / 406.9 MB, free: 3.207 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009651/0.0009648, allocations: 105.4 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005747/0.0005748, allocations: 8 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5307/0.5313, allocations: 82.32 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1709/0.7023, allocations: 111.9 MB / 0.7588 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/0.7027, allocations: 75.95 kB / 0.7589 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005897/0.7086, allocations: 1.893 MB / 0.7607 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.305e-06/0.7086, allocations: 0 / 0.7607 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.151e-05/0.7087, allocations: 4 kB / 0.7607 GB, free: 2.055 MB / 0.5261 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.000916/0.7096, allocations: 438.7 kB / 0.7611 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.643e-05/0.7097, allocations: 12.03 kB / 0.7611 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.435e-05/0.7098, allocations: 11.81 kB / 0.7612 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.7101, allocations: 202.8 kB / 0.7613 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.7102, allocations: 0 / 0.7613 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.7102, allocations: 12 kB / 0.7614 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.7106, allocations: 127.2 kB / 0.7615 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.7106, allocations: 0 / 0.7615 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.7106, allocations: 4 kB / 0.7615 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.7107, allocations: 0 / 0.7615 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.711, allocations: 111.9 kB / 0.7616 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000963/0.712, allocations: 480 kB / 0.762 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.7124, allocations: 137.3 kB / 0.7622 GB, free: 392 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.7125, allocations: 8.078 kB / 0.7622 GB, free: 384 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.7125, allocations: 34.56 kB / 0.7622 GB, free: 340 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.7125, allocations: 0 / 0.7622 GB, free: 340 kB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0006459/0.7132, allocations: 205.3 kB / 0.7624 GB, free: 128 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.7133, allocations: 81.11 kB / 0.7625 GB, free: 28 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.7134, allocations: 158 kB / 0.7626 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.7135, allocations: 25.7 kB / 0.7627 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.7136, allocations: 112.2 kB / 0.7628 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.7136, allocations: 31.62 kB / 0.7628 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.7136, allocations: 0 / 0.7628 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.7138, allocations: 326.8 kB / 0.7631 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.7139, allocations: 55.84 kB / 0.7632 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.7141, allocations: 69.61 kB / 0.7632 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.7142, allocations: 55.98 kB / 0.7633 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.7142, allocations: 0 / 0.7633 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00037/0.7146, allocations: 157.7 kB / 0.7634 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.7147, allocations: 12 kB / 0.7634 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.7147, allocations: 0 / 0.7634 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.7147, allocations: 0 / 0.7634 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.7149, allocations: 27.97 kB / 0.7635 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.7149, allocations: 7.953 kB / 0.7635 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.715, allocations: 15.89 kB / 0.7635 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.7151, allocations: 4 kB / 0.7635 GB, free: 14.95 MB / 0.5417 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.0001262/0.7152, allocations: 121.8 kB / 0.7636 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.7152, allocations: 11.91 kB / 0.7636 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004588/0.7157, allocations: 170.5 kB / 0.7638 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.7157, allocations: 4 kB / 0.7638 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.7157, allocations: 448 / 0.7638 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.7157, allocations: 3.953 kB / 0.7638 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.7161, allocations: 225.4 kB / 0.764 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7161, allocations: 4 kB / 0.764 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.7162, allocations: 27.92 kB / 0.764 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.7163, allocations: 4 kB / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.7163, allocations: 3.984 kB / 0.7641 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.7163, allocations: 4 kB / 0.7641 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7163, allocations: 0 / 0.7641 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.7168, allocations: 336.3 kB / 0.7644 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.987e-05/0.7169, allocations: 88.92 kB / 0.7645 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.7169, allocations: 7.984 kB / 0.7645 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.7171, allocations: 8 kB / 0.7645 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.7171, allocations: 15.94 kB / 0.7645 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.7172, allocations: 4 kB / 0.7645 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001194/0.7173, allocations: 129 kB / 0.7646 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7173, allocations: 0 / 0.7646 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002696/0.7176, allocations: 28 kB / 0.7646 GB, free: 13.66 MB / 0.5417 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.0001201/0.7177, allocations: 99.23 kB / 0.7647 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003648/0.7181, allocations: 120.2 kB / 0.7649 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.7181, allocations: 7.875 kB / 0.7649 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.7182, allocations: 67.91 kB / 0.7649 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.7186, allocations: 31.97 kB / 0.765 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005922/0.7192, allocations: 256.1 kB / 0.7652 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.7196, allocations: 0.7087 MB / 0.7659 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.356e-05/0.7197, allocations: 12.78 kB / 0.7659 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.7198, allocations: 11.44 kB / 0.7659 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of SimCode: time 2.9e-07/0.7198, allocations: 7.938 kB / 0.7659 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of Templates: time 0.004793/0.7246, allocations: 1.836 MB / 0.7677 GB, free: 10.5 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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 & ./IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)