Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009533/0.0009533, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009017/0.0009017, allocations: 192.2 kB / 16.25 MB, free: 6.629 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.124/1.124, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.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.47/1.47, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001173/0.001173, allocations: 66.09 kB / 0.671 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1643, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001554/0.1659, allocations: 0.6625 MB / 0.7835 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002182/0.1661, allocations: 95.72 kB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.133e-05/0.1662, allocations: 0 / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.1662, allocations: 0 / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.258e-05/0.1662, allocations: 0 / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.1664, allocations: 16 kB / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.438e-05/0.1664, allocations: 7.984 kB / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.1665, allocations: 0 / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.422e-05/0.1665, allocations: 3.984 kB / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.793e-05/0.1666, allocations: 15.94 kB / 0.7836 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.1666, allocations: 0 / 0.7836 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.369e-05/0.1666, allocations: 11.98 kB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.1666, allocations: 4 kB / 0.7837 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.371e-05/0.1667, allocations: 0 / 0.7837 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.053e-05/0.1667, allocations: 15.97 kB / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1667, allocations: 0 / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1667, allocations: 3.938 kB / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.1667, allocations: 0 / 0.7837 GB, free: 13.05 MB / 0.6075 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.0002625/0.167, allocations: 319.6 kB / 0.784 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.167, allocations: 12.03 kB / 0.784 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.1672, allocations: 8.922 kB / 0.784 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.447e-05/0.1672, allocations: 172.3 kB / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1673, allocations: 384 / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.954e-06/0.1673, allocations: 4.375 kB / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.785e-05/0.1674, allocations: 38.25 kB / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.1674, allocations: 192 / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1674, allocations: 3.938 kB / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1674, allocations: 8 kB / 0.7842 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.966e-05/0.1675, allocations: 15.98 kB / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/0.1676, allocations: 150 kB / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.1677, allocations: 46.5 kB / 0.7844 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.006e-05/0.1678, allocations: 20.84 kB / 0.7844 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.1678, allocations: 4 kB / 0.7844 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.1678, allocations: 30.56 kB / 0.7845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1678, allocations: 0 / 0.7845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001654/0.168, allocations: 61.75 kB / 0.7845 GB, free: 12 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.1681, allocations: 51.41 kB / 0.7846 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.66e-05/0.1681, allocations: 93.8 kB / 0.7847 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.1681, allocations: 25.7 kB / 0.7847 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.795e-05/0.1681, allocations: 84.14 kB / 0.7848 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.1682, allocations: 15.75 kB / 0.7848 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.1682, allocations: 13.72 kB / 0.7848 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.418e-05/0.1683, allocations: 318.8 kB / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.436e-05/0.1683, allocations: 4 kB / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.1683, allocations: 16.02 kB / 0.7851 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.386e-05/0.1684, allocations: 16.86 kB / 0.7851 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1684, allocations: 4 kB / 0.7851 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.503e-05/0.1685, allocations: 49.67 kB / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.1685, allocations: 4 kB / 0.7852 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/0.1685, allocations: 0 / 0.7852 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1686, allocations: 7.938 kB / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.1689, allocations: 43.81 kB / 0.7852 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.1699, allocations: 1.4 MB / 0.7866 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.17, allocations: 4.031 kB / 0.7866 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.17, allocations: 0 / 0.7866 GB, free: 9.664 MB / 0.6075 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/0.17, allocations: 124.8 kB / 0.7867 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-06/0.1701, allocations: 0 / 0.7867 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.17e-05/0.1701, allocations: 11.5 kB / 0.7867 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.1701, allocations: 0 / 0.7867 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.61e-07/0.1701, allocations: 0 / 0.7867 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.1701, allocations: 0 / 0.7867 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.423e-05/0.1702, allocations: 153.6 kB / 0.7869 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1702, allocations: 0 / 0.7869 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/0.1705, allocations: 47.94 kB / 0.7869 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1705, allocations: 0 / 0.7869 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.1705, allocations: 8 kB / 0.7869 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009621/0.1715, allocations: 1.412 MB / 0.7883 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1715, allocations: 0 / 0.7883 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.1716, allocations: 69.14 kB / 0.7884 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.1716, allocations: 77.11 kB / 0.7885 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-06/0.1717, allocations: 8 kB / 0.7885 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.438e-05/0.1717, allocations: 4 kB / 0.7885 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.1717, allocations: 7.984 kB / 0.7885 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1717, allocations: 7.938 kB / 0.7885 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.099e-05/0.1717, allocations: 75.28 kB / 0.7886 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.513e-06/0.1717, allocations: 0 / 0.7886 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001727/0.1719, allocations: 7.938 kB / 0.7886 GB, free: 7.43 MB / 0.6075 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.963e-05/0.172, allocations: 95.25 kB / 0.7887 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004204/0.1725, allocations: 63.91 kB / 0.7887 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1725, allocations: 4 kB / 0.7887 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.1727, allocations: 35.95 kB / 0.7888 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001148/0.1728, allocations: 8 kB / 0.7888 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002028/0.173, allocations: 100.8 kB / 0.7889 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.1732, allocations: 0.6767 MB / 0.7895 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.1732, allocations: 4 kB / 0.7895 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/0.1732, allocations: 11.44 kB / 0.7895 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1732, allocations: 0 / 0.7895 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of Templates: time 0.001781/0.175, allocations: 412.2 kB / 0.7899 GB, free: 5.973 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)