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.773/1.773, allocations: 288.3 MB / 303.2 MB, free: 8.117 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.001363/0.001363, allocations: 187.4 kB / 371.8 MB, free: 10.26 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.535/1.535, allocations: 205.4 MB / 0.6306 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008471/0.0008471, allocations: 97.48 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004049, allocations: 16.59 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2468, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7933/1.04, allocations: 137.9 MB / 1.114 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/1.04, allocations: 70.02 kB / 1.114 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002695/1.043, allocations: 0.7769 MB / 1.115 GB, free: 32.15 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.085e-06/1.043, allocations: 0 / 1.115 GB, free: 32.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.546e-06/1.043, allocations: 4 kB / 1.115 GB, free: 32.15 MB / 0.698 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.000422/1.044, allocations: 347.5 kB / 1.115 GB, free: 31.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.044, allocations: 11.83 kB / 1.115 GB, free: 31.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/1.044, allocations: 14.17 kB / 1.115 GB, free: 31.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/1.044, allocations: 165.9 kB / 1.115 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/1.044, allocations: 7.906 kB / 1.115 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/1.044, allocations: 0 / 1.115 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/1.044, allocations: 64.75 kB / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.044, allocations: 0 / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/1.044, allocations: 0 / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/1.044, allocations: 0 / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/1.045, allocations: 68.61 kB / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/1.045, allocations: 292 kB / 1.116 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/1.045, allocations: 59.56 kB / 1.116 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/1.045, allocations: 0 / 1.116 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/1.045, allocations: 34.56 kB / 1.116 GB, free: 31.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/1.045, allocations: 0 / 1.116 GB, free: 31.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0004199/1.046, allocations: 134.8 kB / 1.116 GB, free: 31.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/1.046, allocations: 51.41 kB / 1.116 GB, free: 31.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.519e-05/1.046, allocations: 94.41 kB / 1.116 GB, free: 31.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/1.046, allocations: 32.14 kB / 1.116 GB, free: 30.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/1.046, allocations: 83.33 kB / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/1.046, allocations: 4.031 kB / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/1.046, allocations: 4 kB / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.046, allocations: 324.3 kB / 1.117 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/1.046, allocations: 28.14 kB / 1.117 GB, free: 30.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.87e-05/1.046, allocations: 35.48 kB / 1.117 GB, free: 30.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.264e-05/1.046, allocations: 27.5 kB / 1.117 GB, free: 30.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.046, allocations: 0 / 1.117 GB, free: 30.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000221/1.047, allocations: 98.61 kB / 1.117 GB, free: 30.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/1.047, allocations: 7.844 kB / 1.117 GB, free: 30.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/1.047, allocations: 0 / 1.117 GB, free: 30.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/1.047, allocations: 3.938 kB / 1.117 GB, free: 30.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/1.047, allocations: 18 kB / 1.117 GB, free: 30.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/1.047, allocations: 3.984 kB / 1.117 GB, free: 30.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.391e-05/1.047, allocations: 10.02 kB / 1.117 GB, free: 30.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/1.047, allocations: 0 / 1.117 GB, free: 30.52 MB / 0.698 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 () * Number of clocked 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.55e-05/1.047, allocations: 119.8 kB / 1.117 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/1.047, allocations: 256 / 1.117 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/1.047, allocations: 10.94 kB / 1.117 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/1.047, allocations: 4 kB / 1.117 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.047, allocations: 4 kB / 1.117 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.047, allocations: 0 / 1.117 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/1.047, allocations: 169.2 kB / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.047, allocations: 1.859 kB / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.124e-05/1.047, allocations: 17.52 kB / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/1.047, allocations: 0 / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/1.047, allocations: 0 / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.047, allocations: 0 / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.047, allocations: 7.938 kB / 1.117 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/1.048, allocations: 190.5 kB / 1.117 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/1.048, allocations: 81.06 kB / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/1.048, allocations: 2.578 kB / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.992e-05/1.048, allocations: 10.94 kB / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/1.048, allocations: 7.594 kB / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/1.048, allocations: 0 / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.352e-05/1.048, allocations: 82.55 kB / 1.118 GB, free: 29.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.048, allocations: 0 / 1.118 GB, free: 29.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001959/1.048, allocations: 7.875 kB / 1.118 GB, free: 29.88 MB / 0.698 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 () * Number of clocked 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.0001175/1.048, allocations: 101.6 kB / 1.118 GB, free: 29.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002707/1.049, allocations: 68 kB / 1.118 GB, free: 29.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.049, allocations: 3.938 kB / 1.118 GB, free: 29.78 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/1.049, allocations: 33.67 kB / 1.118 GB, free: 29.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/1.049, allocations: 2.812 kB / 1.118 GB, free: 29.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/1.049, allocations: 127.5 kB / 1.118 GB, free: 29.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/1.049, allocations: 0.6829 MB / 1.119 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.485e-05/1.05, allocations: 0 / 1.119 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/1.05, allocations: 11.19 kB / 1.119 GB, free: 28.96 MB / 0.698 GB Notification: Performance of SimCode: time 2.8e-07/1.05, allocations: 4 kB / 1.119 GB, free: 28.96 MB / 0.698 GB Notification: Performance of Templates: time 0.002468/1.052, allocations: 498.4 kB / 1.119 GB, free: 28.91 MB / 0.698 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)