Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.686/2.686, allocations: 287.5 MB / 302.4 MB, free: 8.301 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.00134/0.001339, allocations: 183.4 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.2/2.2, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009492/0.0009487, allocations: 90.28 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007453/0.0007458, allocations: 14.42 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2859, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0009865/0.287, allocations: 335.4 kB / 0.9787 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003659/0.2874, allocations: 79.84 kB / 0.9788 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.484e-05/0.2874, allocations: 0 / 0.9788 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.254e-05/0.2874, allocations: 0 / 0.9788 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.304e-05/0.2875, allocations: 0 / 0.9788 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.2877, allocations: 8 kB / 0.9788 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.999e-05/0.2878, allocations: 11.92 kB / 0.9788 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.01e-05/0.2879, allocations: 0 / 0.9788 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.372e-05/0.2879, allocations: 8 kB / 0.9788 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.288, allocations: 4 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.2881, allocations: 0 / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.453e-05/0.2881, allocations: 11.98 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.939e-06/0.2882, allocations: 0 / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.2882, allocations: 29.7 kB / 0.9788 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.506e-05/0.2883, allocations: 15.97 kB / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.2883, allocations: 4 kB / 0.9789 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2883, allocations: 0 / 0.9789 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.2884, allocations: 0 / 0.9789 GB, free: 27.86 MB / 0.6198 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.0003923/0.2888, allocations: 315.4 kB / 0.9792 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.2888, allocations: 8.031 kB / 0.9792 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.2891, allocations: 7.984 kB / 0.9792 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.849e-05/0.2892, allocations: 167 kB / 0.9793 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.2892, allocations: 7.984 kB / 0.9793 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.2893, allocations: 7.938 kB / 0.9793 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.2894, allocations: 33.69 kB / 0.9794 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2895, allocations: 0 / 0.9794 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.2895, allocations: 4 kB / 0.9794 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2895, allocations: 7.984 kB / 0.9794 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.2897, allocations: 11.98 kB / 0.9794 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.2898, allocations: 153.9 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.2902, allocations: 50.53 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.438e-05/0.2903, allocations: 12.86 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.2903, allocations: 0 / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.2904, allocations: 34.56 kB / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.815e-06/0.2904, allocations: 0 / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003923/0.2908, allocations: 57.67 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.2909, allocations: 55.34 kB / 0.9797 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3e-05/0.2909, allocations: 89.86 kB / 0.9798 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.291, allocations: 29.7 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.065e-05/0.291, allocations: 80.14 kB / 0.9799 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.2911, allocations: 19.73 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.2911, allocations: 4 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.3e-05/0.2912, allocations: 310.8 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-05/0.2913, allocations: 4 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.59e-05/0.2914, allocations: 7.984 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.952e-05/0.2915, allocations: 8 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2915, allocations: 7.953 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002473/0.2918, allocations: 49.67 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.2918, allocations: 4 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.2918, allocations: 8 kB / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.2919, allocations: 0 / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009254/0.2928, allocations: 39.88 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.2949, allocations: 1.31 MB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.332e-05/0.295, allocations: 3.984 kB / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.295, allocations: 4.031 kB / 0.9817 GB, free: 24.63 MB / 0.6198 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.821e-05/0.2951, allocations: 113.8 kB / 0.9818 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.2952, allocations: 0 / 0.9818 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.2952, allocations: 11.53 kB / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2952, allocations: 0 / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2952, allocations: 7.938 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2953, allocations: 0 / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.2954, allocations: 153.6 kB / 0.9819 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2954, allocations: 4 kB / 0.9819 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009073/0.2963, allocations: 47.92 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.2964, allocations: 0 / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.2964, allocations: 0 / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.2983, allocations: 1.31 MB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2983, allocations: 0 / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.2986, allocations: 81.22 kB / 0.9833 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/0.2986, allocations: 81.11 kB / 0.9834 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.2987, allocations: 0 / 0.9834 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.993e-05/0.2987, allocations: 0 / 0.9834 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.2988, allocations: 7.922 kB / 0.9834 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.2988, allocations: 4 kB / 0.9834 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.963e-05/0.2989, allocations: 75.28 kB / 0.9835 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.41e-07/0.2989, allocations: 0 / 0.9835 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004514/0.2993, allocations: 8 kB / 0.9835 GB, free: 22.5 MB / 0.6198 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001547/0.2995, allocations: 99.25 kB / 0.9836 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.3006, allocations: 55.86 kB / 0.9837 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3006, allocations: 4 kB / 0.9837 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000585/0.3012, allocations: 40.09 kB / 0.9837 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.3015, allocations: 0 / 0.9837 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.302, allocations: 113.1 kB / 0.9838 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.3021, allocations: 0.6731 MB / 0.9845 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.896e-05/0.3022, allocations: 4 kB / 0.9845 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.3023, allocations: 7.438 kB / 0.9845 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.3023, allocations: 0 / 0.9845 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.003884/0.3062, allocations: 391.8 kB / 0.9849 GB, free: 21.07 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)