Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5238/0.5238, allocations: 94.69 MB / 107.3 MB, free: 5.176 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009326/0.0009329, allocations: 178.4 kB / 130.7 MB, free: 7.547 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.449/1.449, allocations: 170.5 MB / 324.5 MB, free: 4.059 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001594/0.001594, allocations: 109.3 kB / 386.6 MB, free: 16.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.248e-05/4.249e-05, allocations: 4 kB / 456 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4796/0.4796, allocations: 61.52 MB / 0.5054 GB, free: 49.69 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/0.6414, allocations: 93.63 MB / 0.5968 GB, free: 1.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.6417, allocations: 72.55 kB / 0.5969 GB, free: 1.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002651/0.6444, allocations: 0.7658 MB / 0.5976 GB, free: 1.164 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6444, allocations: 0.6875 kB / 0.5976 GB, free: 1.164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.6444, allocations: 4 kB / 0.5976 GB, free: 1.16 MB / 410.7 MB 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.0004716/0.6449, allocations: 333.8 kB / 0.5979 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/0.645, allocations: 8.594 kB / 0.598 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.6452, allocations: 20.61 kB / 0.598 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.6454, allocations: 163 kB / 0.5981 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/0.6455, allocations: 0 / 0.5981 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.6455, allocations: 5.078 kB / 0.5981 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.6457, allocations: 45.25 kB / 0.5982 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.6457, allocations: 5.5 kB / 0.5982 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.6457, allocations: 0.625 kB / 0.5982 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.6457, allocations: 0 / 0.5982 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.845e-05/0.6458, allocations: 21.06 kB / 0.5982 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005713/0.6464, allocations: 278.6 kB / 0.5985 GB, free: 180 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.518e-05/0.6465, allocations: 35.75 kB / 0.5985 GB, free: 136 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.056e-05/0.6466, allocations: 16.92 kB / 0.5985 GB, free: 116 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.6466, allocations: 0.5312 kB / 0.5985 GB, free: 116 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.6466, allocations: 31.59 kB / 0.5986 GB, free: 76 kB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.884e-06/0.6466, allocations: 0.8125 kB / 0.5986 GB, free: 76 kB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002085/0.6468, allocations: 49.62 kB / 0.5986 GB, free: 20 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.6469, allocations: 52.53 kB / 0.5987 GB, free: 15.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.647, allocations: 98.38 kB / 0.5987 GB, free: 15.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.6471, allocations: 26.58 kB / 0.5988 GB, free: 15.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.6471, allocations: 84.14 kB / 0.5989 GB, free: 15.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.6472, allocations: 12.66 kB / 0.5989 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.6472, allocations: 2.25 kB / 0.5989 GB, free: 15.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.6473, allocations: 321.2 kB / 0.5992 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.583e-05/0.6474, allocations: 4 kB / 0.5992 GB, free: 15.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.372e-05/0.6474, allocations: 8 kB / 0.5992 GB, free: 15.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.6474, allocations: 8 kB / 0.5992 GB, free: 15.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6475, allocations: 2.594 kB / 0.5992 GB, free: 15.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001263/0.6476, allocations: 57.5 kB / 0.5992 GB, free: 15.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.6476, allocations: 6.031 kB / 0.5993 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6476, allocations: 5.344 kB / 0.5993 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.6477, allocations: 3.984 kB / 0.5993 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.6478, allocations: 18.08 kB / 0.5993 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.6478, allocations: 3.984 kB / 0.5993 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.6479, allocations: 12 kB / 0.5993 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.6479, allocations: 0 / 0.5993 GB, free: 15.29 MB / 426.7 MB 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.015e-05/0.648, allocations: 105.8 kB / 0.5994 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.648, allocations: 11.94 kB / 0.5994 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.6481, allocations: 9.328 kB / 0.5994 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6481, allocations: 0 / 0.5994 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6481, allocations: 2.688 kB / 0.5994 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6481, allocations: 0 / 0.5994 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.6483, allocations: 165.7 kB / 0.5996 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.6483, allocations: 0 / 0.5996 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.353e-05/0.6484, allocations: 16.67 kB / 0.5996 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.6484, allocations: 1.25 kB / 0.5996 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.6484, allocations: 5.359 kB / 0.5996 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6484, allocations: 0 / 0.5996 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6484, allocations: 0 / 0.5996 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.6486, allocations: 152.4 kB / 0.5997 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.6487, allocations: 82.7 kB / 0.5998 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.6487, allocations: 0 / 0.5998 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.746e-05/0.6488, allocations: 15.94 kB / 0.5998 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.6489, allocations: 4 kB / 0.5998 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.6489, allocations: 0 / 0.5998 GB, free: 14.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.14e-05/0.649, allocations: 87.27 kB / 0.5999 GB, free: 14.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.649, allocations: 7.969 kB / 0.5999 GB, free: 14.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.6492, allocations: 8 kB / 0.5999 GB, free: 14.55 MB / 426.7 MB 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.0001315/0.6493, allocations: 91.25 kB / 0.6 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.6495, allocations: 23.94 kB / 0.6001 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6495, allocations: 0 / 0.6001 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.417e-05/0.6495, allocations: 13.03 kB / 0.6001 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.6497, allocations: 2.594 kB / 0.6001 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.6501, allocations: 79.06 kB / 0.6001 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.6504, allocations: 0.677 MB / 0.6008 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.159e-05/0.6505, allocations: 4 kB / 0.6008 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.6505, allocations: 7.438 kB / 0.6008 GB, free: 13.61 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/0.6505, allocations: 0 / 0.6008 GB, free: 13.61 MB / 426.7 MB Notification: Performance of Templates: time 0.002901/0.6534, allocations: 0.4937 MB / 0.6013 GB, free: 13.15 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)