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.001253/0.001253, allocations: 101.1 kB / 16.94 MB, free: 6.191 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.001243/0.001243, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.335/1.335, allocations: 222.9 MB / 241.6 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.7612/0.7612, allocations: 122.9 MB / 414.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 68.08 kB / 0.4918 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3332, allocations: 77.92 MB / 0.5678 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001711/0.335, allocations: 0.5841 MB / 0.5684 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002577/0.3353, allocations: 90.12 kB / 0.5685 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.3353, allocations: 2.594 kB / 0.5685 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.244e-05/0.3353, allocations: 0 / 0.5685 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.338e-05/0.3354, allocations: 1.266 kB / 0.5685 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.3356, allocations: 15.2 kB / 0.5685 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.762e-05/0.3356, allocations: 12.11 kB / 0.5685 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.298e-05/0.3357, allocations: 1.906 kB / 0.5685 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.967e-05/0.3357, allocations: 4.141 kB / 0.5685 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.3358, allocations: 8.25 kB / 0.5685 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.3358, allocations: 0 / 0.5685 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.675e-05/0.3359, allocations: 15.67 kB / 0.5686 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.3359, allocations: 1.219 kB / 0.5686 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.3359, allocations: 6.5 kB / 0.5686 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.195e-05/0.336, allocations: 22.03 kB / 0.5686 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.336, allocations: 2 kB / 0.5686 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.336, allocations: 0 / 0.5686 GB, free: 32.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.336, allocations: 0 / 0.5686 GB, free: 32.21 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.0002666/0.3363, allocations: 318 kB / 0.5689 GB, free: 31.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3363, allocations: 13.81 kB / 0.5689 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.3365, allocations: 11.08 kB / 0.5689 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.97e-05/0.3365, allocations: 161.1 kB / 0.5691 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.3366, allocations: 3.062 kB / 0.5691 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.3366, allocations: 1.656 kB / 0.5691 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.3367, allocations: 41.3 kB / 0.5691 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.3367, allocations: 4.125 kB / 0.5691 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.3367, allocations: 6.125 kB / 0.5691 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3367, allocations: 0 / 0.5691 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.863e-05/0.3368, allocations: 13.47 kB / 0.5691 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.652e-05/0.3369, allocations: 150.6 kB / 0.5693 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.3371, allocations: 40.23 kB / 0.5693 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.3371, allocations: 17.03 kB / 0.5693 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.3372, allocations: 2.469 kB / 0.5693 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.3372, allocations: 35.25 kB / 0.5694 GB, free: 31.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.873e-06/0.3372, allocations: 2.594 kB / 0.5694 GB, free: 31.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000193/0.3374, allocations: 55.56 kB / 0.5694 GB, free: 31.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.3374, allocations: 53.62 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.546e-05/0.3374, allocations: 90.56 kB / 0.5696 GB, free: 31.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.3374, allocations: 29.7 kB / 0.5696 GB, free: 31.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.157e-06/0.3375, allocations: 82.17 kB / 0.5697 GB, free: 31.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.3375, allocations: 12.73 kB / 0.5697 GB, free: 31.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.3375, allocations: 13.28 kB / 0.5697 GB, free: 31.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.512e-05/0.3376, allocations: 318.2 kB / 0.57 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.833e-05/0.3376, allocations: 6.25 kB / 0.57 GB, free: 30.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.037e-05/0.3376, allocations: 9.156 kB / 0.57 GB, free: 30.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.386e-05/0.3377, allocations: 26.05 kB / 0.57 GB, free: 30.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3377, allocations: 1.156 kB / 0.57 GB, free: 30.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001023/0.3378, allocations: 49.36 kB / 0.5701 GB, free: 30.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3379, allocations: 4.281 kB / 0.5701 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3379, allocations: 6.203 kB / 0.5701 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3379, allocations: 5.125 kB / 0.5701 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.3383, allocations: 47.19 kB / 0.5702 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.3393, allocations: 1.4 MB / 0.5715 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.91e-05/0.3394, allocations: 5.406 kB / 0.5715 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.3394, allocations: 5.312 kB / 0.5715 GB, free: 29.19 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 6.117e-05/0.3395, allocations: 111.5 kB / 0.5716 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-06/0.3395, allocations: 2.156 kB / 0.5716 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.265e-05/0.3395, allocations: 3.5 kB / 0.5716 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3395, allocations: 1.844 kB / 0.5716 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.3395, allocations: 1.438 kB / 0.5716 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3395, allocations: 2.031 kB / 0.5716 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.12e-05/0.3396, allocations: 162.8 kB / 0.5718 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3396, allocations: 1.219 kB / 0.5718 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.34, allocations: 47.19 kB / 0.5718 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.34, allocations: 1.875 kB / 0.5718 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.34, allocations: 4.922 kB / 0.5719 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008572/0.3408, allocations: 1.409 MB / 0.5732 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3409, allocations: 1.094 kB / 0.5732 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.341, allocations: 80.41 kB / 0.5733 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.341, allocations: 83.25 kB / 0.5734 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-06/0.341, allocations: 3.938 kB / 0.5734 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.703e-05/0.341, allocations: 5.938 kB / 0.5734 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.3411, allocations: 3.406 kB / 0.5734 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.3411, allocations: 2.453 kB / 0.5734 GB, free: 27.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.129e-05/0.3411, allocations: 75.28 kB / 0.5735 GB, free: 27.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3411, allocations: 0.6562 kB / 0.5735 GB, free: 27.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001943/0.3413, allocations: 8.125 kB / 0.5735 GB, free: 27.16 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.0001035/0.3414, allocations: 98.88 kB / 0.5736 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004629/0.3419, allocations: 69.28 kB / 0.5736 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3419, allocations: 1.656 kB / 0.5736 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003867/0.3423, allocations: 55.14 kB / 0.5737 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.3424, allocations: 3.094 kB / 0.5737 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.3427, allocations: 122.3 kB / 0.5738 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.771e-05/0.3428, allocations: 0.6743 MB / 0.5745 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.3429, allocations: 9.234 kB / 0.5745 GB, free: 26.22 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3429, allocations: 0 / 0.5745 GB, free: 26.22 MB / 446.1 MB Notification: Performance of Templates: time 0.002257/0.3451, allocations: 0.6015 MB / 0.5751 GB, free: 26.21 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)