Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009806/0.0009806, allocations: 108.9 kB / 17.02 MB, free: 6.121 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.0009464/0.0009464, allocations: 196.1 kB / 17.97 MB, free: 5.211 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 222.9 MB / 241.7 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6826/0.6826, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.84 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.328, allocations: 76.14 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001568/0.3296, allocations: 0.583 MB / 0.5581 GB, free: 36.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002396/0.3299, allocations: 92.05 kB / 0.5582 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.554e-05/0.3299, allocations: 0 / 0.5582 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.097e-05/0.3299, allocations: 1.312 kB / 0.5582 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.409e-05/0.33, allocations: 0 / 0.5582 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.3302, allocations: 17.05 kB / 0.5582 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.603e-05/0.3302, allocations: 10.16 kB / 0.5583 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.3303, allocations: 2.297 kB / 0.5583 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.769e-05/0.3303, allocations: 4.328 kB / 0.5583 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.197e-05/0.3304, allocations: 7.094 kB / 0.5583 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.3304, allocations: 2.062 kB / 0.5583 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.401e-05/0.3304, allocations: 14.86 kB / 0.5583 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.3305, allocations: 2.75 kB / 0.5583 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.3305, allocations: 5.469 kB / 0.5583 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.556e-05/0.3306, allocations: 18.25 kB / 0.5583 GB, free: 36.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3306, allocations: 2.25 kB / 0.5583 GB, free: 36.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3306, allocations: 0 / 0.5583 GB, free: 36.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.3306, allocations: 5.344 kB / 0.5583 GB, free: 36.22 MB / 446.1 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.0002493/0.3309, allocations: 316.5 kB / 0.5586 GB, free: 35.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3309, allocations: 9.844 kB / 0.5586 GB, free: 35.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.331, allocations: 11.2 kB / 0.5586 GB, free: 35.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.557e-05/0.3311, allocations: 161.8 kB / 0.5588 GB, free: 35.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.3311, allocations: 384 / 0.5588 GB, free: 35.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.3311, allocations: 1.719 kB / 0.5588 GB, free: 35.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.3312, allocations: 44.94 kB / 0.5588 GB, free: 35.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3313, allocations: 3.125 kB / 0.5588 GB, free: 35.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.3313, allocations: 5.406 kB / 0.5588 GB, free: 35.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3313, allocations: 0.8438 kB / 0.5588 GB, free: 35.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.24e-05/0.3314, allocations: 10.69 kB / 0.5589 GB, free: 35.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001145/0.3315, allocations: 153.2 kB / 0.559 GB, free: 35.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.3316, allocations: 42.23 kB / 0.559 GB, free: 35.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.3317, allocations: 15.08 kB / 0.5591 GB, free: 35.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.3317, allocations: 0 / 0.5591 GB, free: 35.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.3317, allocations: 39.08 kB / 0.5591 GB, free: 35.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.3317, allocations: 0 / 0.5591 GB, free: 35.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001801/0.3319, allocations: 57.16 kB / 0.5591 GB, free: 35.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.3319, allocations: 59.34 kB / 0.5592 GB, free: 35.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.899e-05/0.332, allocations: 92.73 kB / 0.5593 GB, free: 35.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.617e-06/0.332, allocations: 26.92 kB / 0.5593 GB, free: 35.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.177e-05/0.332, allocations: 80.14 kB / 0.5594 GB, free: 35.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.332, allocations: 7.953 kB / 0.5594 GB, free: 35.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.3321, allocations: 18.12 kB / 0.5594 GB, free: 35.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.276e-05/0.3321, allocations: 313.3 kB / 0.5597 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.644e-05/0.3322, allocations: 7.578 kB / 0.5597 GB, free: 34.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.737e-05/0.3322, allocations: 7.031 kB / 0.5597 GB, free: 34.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.66e-05/0.3323, allocations: 25.53 kB / 0.5598 GB, free: 34.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3323, allocations: 0 / 0.5598 GB, free: 34.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.369e-05/0.3324, allocations: 53.8 kB / 0.5598 GB, free: 34.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3324, allocations: 6.781 kB / 0.5598 GB, free: 34.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3324, allocations: 1.438 kB / 0.5598 GB, free: 34.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3324, allocations: 4.625 kB / 0.5598 GB, free: 34.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.3328, allocations: 48.48 kB / 0.5599 GB, free: 34.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009902/0.3338, allocations: 1.406 MB / 0.5612 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.831e-05/0.3338, allocations: 9.156 kB / 0.5612 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.3339, allocations: 2.125 kB / 0.5613 GB, free: 33.2 MB / 446.1 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 () * 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.668e-05/0.3339, allocations: 114.5 kB / 0.5614 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-06/0.3339, allocations: 1.984 kB / 0.5614 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.341e-05/0.3339, allocations: 8.719 kB / 0.5614 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.334, allocations: 0 / 0.5614 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.334, allocations: 2 kB / 0.5614 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.334, allocations: 1.516 kB / 0.5614 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.879e-05/0.3341, allocations: 150.6 kB / 0.5615 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3341, allocations: 1.594 kB / 0.5615 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.3344, allocations: 55.62 kB / 0.5616 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3344, allocations: 1.219 kB / 0.5616 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3344, allocations: 0 / 0.5616 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008267/0.3352, allocations: 1.404 MB / 0.5629 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3353, allocations: 0.7969 kB / 0.5629 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.3354, allocations: 78.75 kB / 0.563 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.3354, allocations: 82.62 kB / 0.5631 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.515e-06/0.3354, allocations: 5.969 kB / 0.5631 GB, free: 31.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.622e-05/0.3354, allocations: 6.141 kB / 0.5631 GB, free: 31.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.3355, allocations: 3 kB / 0.5631 GB, free: 31.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3355, allocations: 2.125 kB / 0.5631 GB, free: 31.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.785e-05/0.3355, allocations: 76.59 kB / 0.5632 GB, free: 31.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3355, allocations: 0 / 0.5632 GB, free: 31.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001858/0.3357, allocations: 6.844 kB / 0.5632 GB, free: 31.19 MB / 446.1 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 () * 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 0.0001113/0.3358, allocations: 100.7 kB / 0.5633 GB, free: 31.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004287/0.3363, allocations: 70.09 kB / 0.5634 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3363, allocations: 0 / 0.5634 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.3365, allocations: 37.33 kB / 0.5634 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.3366, allocations: 1.938 kB / 0.5634 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.3369, allocations: 97.95 kB / 0.5635 GB, free: 30.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.621e-05/0.337, allocations: 0.6777 MB / 0.5641 GB, free: 30.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.866e-05/0.3371, allocations: 7.938 kB / 0.5642 GB, free: 30.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.3371, allocations: 8.938 kB / 0.5642 GB, free: 30.28 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3371, allocations: 1.188 kB / 0.5642 GB, free: 30.28 MB / 446.1 MB Notification: Performance of Templates: time 0.002395/0.3395, allocations: 415 kB / 0.5646 GB, free: 30.23 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)