Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 97.14 kB / 16.27 MB, free: 6.418 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.001134/0.001134, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 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.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.3 MB / 0.5495 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001652, allocations: 71.91 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2613, allocations: 114.5 MB / 0.784 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002942/0.2643, allocations: 1.43 MB / 0.7854 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002864/0.2646, allocations: 88.59 kB / 0.7855 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.2647, allocations: 0 / 0.7855 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.2647, allocations: 0 / 0.7855 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.2648, allocations: 11.92 kB / 0.7855 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.265, allocations: 19.91 kB / 0.7855 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.436e-05/0.2651, allocations: 19.94 kB / 0.7856 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.2652, allocations: 15.92 kB / 0.7856 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.636e-05/0.2653, allocations: 8 kB / 0.7856 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.465e-05/0.2653, allocations: 15.92 kB / 0.7856 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.2653, allocations: 4 kB / 0.7856 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.028e-05/0.2654, allocations: 11.98 kB / 0.7856 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.2654, allocations: 4 kB / 0.7856 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.2655, allocations: 19.92 kB / 0.7856 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.2656, allocations: 31.89 kB / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2656, allocations: 0 / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2656, allocations: 0 / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.2656, allocations: 4 kB / 0.7857 GB, free: 2.172 MB / 0.6544 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.0004847/0.2661, allocations: 347.6 kB / 0.786 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2662, allocations: 8.031 kB / 0.786 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.2664, allocations: 12.92 kB / 0.786 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.2665, allocations: 168.3 kB / 0.7862 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.2665, allocations: 8.359 kB / 0.7862 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.2665, allocations: 384 / 0.7862 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.2667, allocations: 58.23 kB / 0.7862 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2668, allocations: 192 / 0.7862 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.2668, allocations: 7.938 kB / 0.7862 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2668, allocations: 0 / 0.7862 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.267, allocations: 51.88 kB / 0.7863 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.2674, allocations: 257 kB / 0.7865 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.2676, allocations: 58.47 kB / 0.7866 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.2677, allocations: 32.84 kB / 0.7866 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.2677, allocations: 0 / 0.7866 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.2678, allocations: 34.5 kB / 0.7867 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2678, allocations: 4 kB / 0.7867 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0004154/0.2682, allocations: 101.6 kB / 0.7868 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.2682, allocations: 51.41 kB / 0.7868 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.565e-05/0.2683, allocations: 105.8 kB / 0.7869 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.2684, allocations: 25.7 kB / 0.7869 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.2684, allocations: 88.27 kB / 0.787 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.2685, allocations: 15.83 kB / 0.787 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.2685, allocations: 9.719 kB / 0.787 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2686, allocations: 314.8 kB / 0.7873 GB, free: 236 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.2687, allocations: 28.22 kB / 0.7874 GB, free: 208 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.24e-05/0.2688, allocations: 15.98 kB / 0.7874 GB, free: 192 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.269, allocations: 68.8 kB / 0.7875 GB, free: 120 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2691, allocations: 0 / 0.7875 GB, free: 120 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002468/0.2693, allocations: 81.5 kB / 0.7875 GB, free: 32 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2693, allocations: 8 kB / 0.7875 GB, free: 24 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2693, allocations: 0 / 0.7875 GB, free: 24 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2694, allocations: 4.031 kB / 0.7875 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.2695, allocations: 11.98 kB / 0.7876 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2695, allocations: 0 / 0.7876 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.91e-05/0.2695, allocations: 7.984 kB / 0.7876 GB, free: 0 / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.2696, allocations: 0 / 0.7876 GB, free: 0 / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3839/0.6535, allocations: 111.5 kB / 0.7877 GB, free: 49.15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.6536, allocations: 1.844 kB / 0.7877 GB, free: 49.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/0.6536, allocations: 8.25 kB / 0.7877 GB, free: 49.15 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6536, allocations: 1.969 kB / 0.7877 GB, free: 49.15 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.6537, allocations: 0 / 0.7877 GB, free: 49.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.6537, allocations: 4.438 kB / 0.7877 GB, free: 49.15 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.6538, allocations: 167.1 kB / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6538, allocations: 0 / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.654, allocations: 14.59 kB / 0.7879 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.654, allocations: 1.219 kB / 0.7879 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.654, allocations: 0.7969 kB / 0.7879 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.654, allocations: 1.312 kB / 0.7879 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.654, allocations: 5.609 kB / 0.7879 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.6543, allocations: 178.7 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.6544, allocations: 80.77 kB / 0.7881 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.6544, allocations: 3.156 kB / 0.7881 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.6545, allocations: 9.297 kB / 0.7881 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.6545, allocations: 9.281 kB / 0.7881 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.6545, allocations: 0 / 0.7881 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.493e-05/0.6546, allocations: 88.73 kB / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6546, allocations: 0 / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002739/0.6549, allocations: 5.156 kB / 0.7882 GB, free: 48.66 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001113/0.655, allocations: 97.81 kB / 0.7883 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.6553, allocations: 53.59 kB / 0.7884 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.6553, allocations: 1.844 kB / 0.7884 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.947e-05/0.6554, allocations: 28.48 kB / 0.7884 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.6557, allocations: 3.219 kB / 0.7884 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.6561, allocations: 147.7 kB / 0.7885 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.6562, allocations: 0.6772 MB / 0.7892 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.6562, allocations: 13.19 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.6562, allocations: 0 / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.001814/0.658, allocations: 0.6262 MB / 0.7898 GB, free: 47.75 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)