Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.865/1.865, allocations: 285.4 MB / 298 MB, free: 5.996 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001475, allocations: 184.8 kB / 366.4 MB, free: 2.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.1 MB / 0.6248 GB, free: 7.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008548/0.0008551, allocations: 98.45 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.783e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8921/0.8921, allocations: 115.3 MB / 0.9709 GB, free: 77.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2055/1.098, allocations: 137.9 MB / 1.106 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/1.098, allocations: 71.95 kB / 1.106 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002123/1.1, allocations: 0.7755 MB / 1.106 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.974e-06/1.1, allocations: 0 / 1.106 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.776e-06/1.1, allocations: 0 / 1.106 GB, free: 13.11 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003792/1.101, allocations: 332.6 kB / 1.107 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/1.101, allocations: 12.03 kB / 1.107 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/1.101, allocations: 24.45 kB / 1.107 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/1.101, allocations: 175 kB / 1.107 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/1.101, allocations: 1.25 kB / 1.107 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/1.101, allocations: 0 / 1.107 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/1.101, allocations: 41.69 kB / 1.107 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/1.101, allocations: 1.156 kB / 1.107 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/1.101, allocations: 0 / 1.107 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/1.101, allocations: 0 / 1.107 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.131e-05/1.101, allocations: 22.5 kB / 1.107 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/1.102, allocations: 268.9 kB / 1.107 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.032e-05/1.102, allocations: 45.39 kB / 1.107 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.893e-05/1.102, allocations: 12.02 kB / 1.107 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/1.102, allocations: 4 kB / 1.107 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/1.102, allocations: 33.19 kB / 1.107 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/1.102, allocations: 5.469 kB / 1.107 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000188/1.102, allocations: 37.7 kB / 1.107 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/1.102, allocations: 59.34 kB / 1.107 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/1.102, allocations: 98.14 kB / 1.107 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/1.102, allocations: 25.7 kB / 1.107 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/1.102, allocations: 89.02 kB / 1.108 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/1.102, allocations: 7.844 kB / 1.108 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/1.102, allocations: 0.5312 kB / 1.108 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.103, allocations: 315.5 kB / 1.108 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.781e-05/1.103, allocations: 14.44 kB / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/1.103, allocations: 8 kB / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.775e-05/1.103, allocations: 11.98 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.103, allocations: 0 / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.439e-05/1.103, allocations: 45.61 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.103, allocations: 5.031 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.103, allocations: 0 / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.103, allocations: 4 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/1.103, allocations: 18.12 kB / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/1.103, allocations: 3.938 kB / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.589e-05/1.103, allocations: 15.98 kB / 1.108 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/1.103, allocations: 128 / 1.108 GB, free: 11.23 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.625e-05/1.103, allocations: 112.9 kB / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/1.103, allocations: 0 / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/1.103, allocations: 15.62 kB / 1.108 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/1.103, allocations: 0 / 1.108 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/1.103, allocations: 0 / 1.108 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/1.103, allocations: 0 / 1.108 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/1.103, allocations: 173.6 kB / 1.108 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.103, allocations: 0 / 1.108 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.903e-05/1.104, allocations: 15.98 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/1.104, allocations: 7.406 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/1.104, allocations: 0 / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/1.104, allocations: 0 / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/1.104, allocations: 0 / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/1.104, allocations: 147.4 kB / 1.108 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/1.104, allocations: 85.02 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/1.104, allocations: 4.031 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.731e-05/1.104, allocations: 11.98 kB / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/1.104, allocations: 0 / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/1.104, allocations: 0 / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.603e-05/1.104, allocations: 88.53 kB / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.104, allocations: 0 / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002081/1.104, allocations: 4 kB / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001476/1.104, allocations: 103.2 kB / 1.109 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001054/1.105, allocations: 20 kB / 1.109 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/1.105, allocations: 0 / 1.109 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.208e-05/1.105, allocations: 12 kB / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/1.105, allocations: 3.906 kB / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/1.105, allocations: 87.33 kB / 1.109 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/1.105, allocations: 0.6827 MB / 1.11 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.849e-05/1.106, allocations: 4 kB / 1.11 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/1.106, allocations: 7.438 kB / 1.11 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/1.106, allocations: 0 / 1.11 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of Templates: time 0.002493/1.108, allocations: 0.4921 MB / 1.11 GB, free: 9.062 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)