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.001298/0.001298, allocations: 107.6 kB / 15.99 MB, free: 6.359 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.001253/0.001253, allocations: 191.4 kB / 16.91 MB, free: 6.195 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.409/1.409, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8507/0.8507, allocations: 126.1 MB / 416.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 0.4945 GB, free: 3.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3781, allocations: 78.7 MB / 0.5713 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001922/0.3801, allocations: 0.6434 MB / 0.572 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003024/0.3804, allocations: 90.78 kB / 0.572 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.504e-05/0.3804, allocations: 1.281 kB / 0.572 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.3805, allocations: 0.5625 kB / 0.572 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.031e-05/0.3805, allocations: 0.7188 kB / 0.5721 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.3807, allocations: 17.64 kB / 0.5721 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.403e-05/0.3808, allocations: 10.08 kB / 0.5721 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.3809, allocations: 2.359 kB / 0.5721 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.672e-05/0.3809, allocations: 2.406 kB / 0.5721 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.057e-05/0.381, allocations: 11.89 kB / 0.5721 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.381, allocations: 0.5 kB / 0.5721 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.299e-05/0.381, allocations: 16.48 kB / 0.5721 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.3811, allocations: 0.7031 kB / 0.5721 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.3811, allocations: 2.062 kB / 0.5721 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.3812, allocations: 22.14 kB / 0.5721 GB, free: 30.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3812, allocations: 2.359 kB / 0.5721 GB, free: 30.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3812, allocations: 0 / 0.5721 GB, free: 30.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.299e-06/0.3812, allocations: 0 / 0.5721 GB, free: 30.83 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.0002898/0.3815, allocations: 313.7 kB / 0.5724 GB, free: 30.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3816, allocations: 10.03 kB / 0.5724 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.3817, allocations: 11.41 kB / 0.5725 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.609e-05/0.3818, allocations: 161.8 kB / 0.5726 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.3818, allocations: 5.469 kB / 0.5726 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.3818, allocations: 1.5 kB / 0.5726 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.3819, allocations: 41.12 kB / 0.5727 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.3819, allocations: 192 / 0.5727 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.3819, allocations: 5.844 kB / 0.5727 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.382, allocations: 0.7969 kB / 0.5727 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.907e-05/0.382, allocations: 15.19 kB / 0.5727 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.3821, allocations: 152.7 kB / 0.5728 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.3823, allocations: 40.92 kB / 0.5729 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.3824, allocations: 16.08 kB / 0.5729 GB, free: 30.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.3824, allocations: 0.7812 kB / 0.5729 GB, free: 30.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.3824, allocations: 44.94 kB / 0.5729 GB, free: 29.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.3824, allocations: 0.9375 kB / 0.5729 GB, free: 29.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001975/0.3826, allocations: 59.61 kB / 0.573 GB, free: 29.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.3826, allocations: 52.02 kB / 0.573 GB, free: 29.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.569e-05/0.3827, allocations: 89.86 kB / 0.5731 GB, free: 29.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.3827, allocations: 26.86 kB / 0.5731 GB, free: 29.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.879e-06/0.3827, allocations: 84.83 kB / 0.5732 GB, free: 29.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.3827, allocations: 20.62 kB / 0.5732 GB, free: 29.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.3828, allocations: 13.91 kB / 0.5733 GB, free: 29.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.269e-05/0.3828, allocations: 313.6 kB / 0.5736 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.914e-05/0.3829, allocations: 9.844 kB / 0.5736 GB, free: 29.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.131e-05/0.3829, allocations: 6.188 kB / 0.5736 GB, free: 29.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.897e-05/0.383, allocations: 26.12 kB / 0.5736 GB, free: 29.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.383, allocations: 0 / 0.5736 GB, free: 29.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001/0.3831, allocations: 50.03 kB / 0.5736 GB, free: 29.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.3831, allocations: 9.688 kB / 0.5736 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3831, allocations: 0.6094 kB / 0.5736 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.3831, allocations: 3.938 kB / 0.5737 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.3835, allocations: 44.31 kB / 0.5737 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.3846, allocations: 1.401 MB / 0.5751 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.3846, allocations: 2.312 kB / 0.5751 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.3846, allocations: 3.328 kB / 0.5751 GB, free: 27.8 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.323e-05/0.3847, allocations: 117.5 kB / 0.5752 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-06/0.3847, allocations: 1.438 kB / 0.5752 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.291e-05/0.3847, allocations: 4.828 kB / 0.5752 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3847, allocations: 2.25 kB / 0.5752 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.61e-07/0.3848, allocations: 0 / 0.5752 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3848, allocations: 1.125 kB / 0.5752 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.729e-05/0.3848, allocations: 160.9 kB / 0.5753 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3848, allocations: 0 / 0.5753 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/0.3852, allocations: 48.94 kB / 0.5754 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3853, allocations: 5.188 kB / 0.5754 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.3853, allocations: 4.594 kB / 0.5754 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008648/0.3861, allocations: 1.406 MB / 0.5768 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3862, allocations: 2.203 kB / 0.5768 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.3863, allocations: 72.11 kB / 0.5768 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.3863, allocations: 84.23 kB / 0.5769 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-06/0.3863, allocations: 4.547 kB / 0.5769 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.712e-05/0.3863, allocations: 2.641 kB / 0.5769 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.3864, allocations: 6.266 kB / 0.5769 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.3864, allocations: 2.219 kB / 0.5769 GB, free: 25.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.09e-05/0.3864, allocations: 75.28 kB / 0.577 GB, free: 25.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3864, allocations: 0 / 0.577 GB, free: 25.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001861/0.3866, allocations: 2.906 kB / 0.577 GB, free: 25.78 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.0001034/0.3867, allocations: 99.06 kB / 0.5771 GB, free: 25.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004718/0.3872, allocations: 65.94 kB / 0.5772 GB, free: 25.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3872, allocations: 0 / 0.5772 GB, free: 25.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.3874, allocations: 41.36 kB / 0.5772 GB, free: 25.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.3876, allocations: 5.469 kB / 0.5772 GB, free: 25.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.3878, allocations: 100.6 kB / 0.5773 GB, free: 25.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.3879, allocations: 0.6758 MB / 0.578 GB, free: 24.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.276e-05/0.388, allocations: 2.641 kB / 0.578 GB, free: 24.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.388, allocations: 11.41 kB / 0.578 GB, free: 24.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.388, allocations: 0 / 0.578 GB, free: 24.86 MB / 446.1 MB Notification: Performance of Templates: time 0.002265/0.3903, allocations: 413.2 kB / 0.5784 GB, free: 24.81 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)