Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.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.69/1.69, allocations: 288.4 MB / 303.4 MB, free: 8.203 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.00106/0.00106, allocations: 184.5 kB / 372 MB, free: 10.28 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.846/1.846, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0008815/0.0008819, allocations: 87.86 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004701, allocations: 17.16 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2641, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0008238/0.265, allocations: 327.7 kB / 0.9799 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003114/0.2653, allocations: 83.84 kB / 0.98 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.2654, allocations: 4 kB / 0.98 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.281e-05/0.2654, allocations: 0 / 0.98 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.324e-05/0.2655, allocations: 3.984 kB / 0.98 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.2657, allocations: 4 kB / 0.98 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.145e-05/0.2658, allocations: 11.94 kB / 0.98 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/0.2658, allocations: 3.984 kB / 0.98 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.198e-05/0.2658, allocations: 4 kB / 0.98 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.2659, allocations: 0 / 0.98 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.266, allocations: 0 / 0.98 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.344e-05/0.266, allocations: 15.98 kB / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.2661, allocations: 7.984 kB / 0.98 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.2661, allocations: 25.7 kB / 0.9801 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.052e-05/0.2662, allocations: 11.98 kB / 0.9801 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2662, allocations: 0 / 0.9801 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2662, allocations: 4 kB / 0.9801 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.2662, allocations: 0 / 0.9801 GB, free: 27.17 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.0003279/0.2665, allocations: 311.4 kB / 0.9804 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.979e-05/0.2666, allocations: 15.91 kB / 0.9804 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.2668, allocations: 11.98 kB / 0.9804 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.685e-05/0.2669, allocations: 167 kB / 0.9806 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.2669, allocations: 0 / 0.9806 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.2669, allocations: 4 kB / 0.9806 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.2671, allocations: 33.69 kB / 0.9806 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2671, allocations: 0 / 0.9806 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2671, allocations: 4 kB / 0.9806 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2671, allocations: 0 / 0.9806 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.209e-05/0.2672, allocations: 11.98 kB / 0.9806 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.2673, allocations: 161.9 kB / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.2675, allocations: 42.53 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.495e-05/0.2676, allocations: 16.92 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.2676, allocations: 3.984 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.2676, allocations: 34.56 kB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.2676, allocations: 4 kB / 0.9809 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002253/0.2679, allocations: 57.61 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.2679, allocations: 55.34 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.619e-05/0.2679, allocations: 89.86 kB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.268, allocations: 25.7 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.631e-05/0.268, allocations: 80.14 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.268, allocations: 19.75 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/0.268, allocations: 0 / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.2681, allocations: 318.8 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.447e-05/0.2681, allocations: 4 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.92e-05/0.2682, allocations: 11.98 kB / 0.9815 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.2682, allocations: 4 kB / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2682, allocations: 0 / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001034/0.2683, allocations: 49.64 kB / 0.9816 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2684, allocations: 4 kB / 0.9816 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2684, allocations: 3.984 kB / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2684, allocations: 8 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.2688, allocations: 39.88 kB / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.2698, allocations: 1.302 MB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.2699, allocations: 8.156 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.2699, allocations: 0 / 0.9829 GB, free: 23.96 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 7.002e-05/0.2699, allocations: 121.7 kB / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.27, allocations: 3.953 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.665e-05/0.27, allocations: 3.5 kB / 0.983 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.27, allocations: 0 / 0.983 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.27, allocations: 0 / 0.983 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.27, allocations: 8 kB / 0.983 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.713e-05/0.2701, allocations: 149.7 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2701, allocations: 4 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.2704, allocations: 47.89 kB / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2705, allocations: 3.984 kB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.2705, allocations: 0 / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008478/0.2713, allocations: 1.318 MB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2713, allocations: 0 / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.2715, allocations: 69.14 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.2715, allocations: 81.06 kB / 0.9846 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-06/0.2715, allocations: 4 kB / 0.9846 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.528e-05/0.2715, allocations: 4.094 kB / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.2716, allocations: 0 / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.2716, allocations: 4 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.711e-05/0.2716, allocations: 79.28 kB / 0.9847 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2716, allocations: 0 / 0.9847 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001776/0.2718, allocations: 4 kB / 0.9847 GB, free: 21.83 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.0001384/0.2719, allocations: 103.2 kB / 0.9848 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004404/0.2724, allocations: 63.86 kB / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2724, allocations: 0 / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.2726, allocations: 39.94 kB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.2728, allocations: 4.75 kB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.2731, allocations: 99.73 kB / 0.985 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.2732, allocations: 0.677 MB / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.142e-05/0.2733, allocations: 0 / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.2733, allocations: 11.44 kB / 0.9857 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2733, allocations: 4 kB / 0.9857 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of Templates: time 0.002371/0.2757, allocations: 381.4 kB / 0.9861 GB, free: 20.41 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)