Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.00109, allocations: 114.9 kB / 17.04 MB, free: 5.805 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.001024/0.001024, allocations: 195 kB / 17.98 MB, free: 5.031 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.256/1.256, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6693/0.6693, allocations: 115.1 MB / 406.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.09 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3295, allocations: 76.15 MB / 0.5576 GB, free: 36.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001523/0.3311, allocations: 0.5647 MB / 0.5581 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005051/0.3316, allocations: 325.5 kB / 0.5584 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.565e-05/0.3316, allocations: 0 / 0.5584 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.271e-05/0.3316, allocations: 1.156 kB / 0.5584 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.328e-06/0.3317, allocations: 1.625 kB / 0.5584 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.332, allocations: 106.1 kB / 0.5585 GB, free: 36.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.556e-05/0.3321, allocations: 1.75 kB / 0.5586 GB, free: 36.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.3321, allocations: 7.25 kB / 0.5586 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.224e-05/0.3321, allocations: 3.938 kB / 0.5586 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.746e-05/0.3322, allocations: 2.5 kB / 0.5586 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.3322, allocations: 0 / 0.5586 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003502/0.3325, allocations: 277.6 kB / 0.5588 GB, free: 36.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.206e-06/0.3326, allocations: 2.312 kB / 0.5588 GB, free: 36.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.307e-05/0.3326, allocations: 0 / 0.5588 GB, free: 36.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.3327, allocations: 89.75 kB / 0.5589 GB, free: 35.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3327, allocations: 0 / 0.5589 GB, free: 35.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3327, allocations: 0 / 0.5589 GB, free: 35.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.3328, allocations: 0 / 0.5589 GB, free: 35.99 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000225/0.333, allocations: 337.1 kB / 0.5592 GB, free: 35.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.333, allocations: 8.969 kB / 0.5592 GB, free: 35.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.3331, allocations: 1.547 kB / 0.5592 GB, free: 35.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.562e-05/0.3331, allocations: 166.3 kB / 0.5594 GB, free: 35.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.3331, allocations: 4.375 kB / 0.5594 GB, free: 35.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.3332, allocations: 1.656 kB / 0.5594 GB, free: 35.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.683e-05/0.3332, allocations: 28.56 kB / 0.5594 GB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3332, allocations: 1.344 kB / 0.5594 GB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.3332, allocations: 8.844 kB / 0.5595 GB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3333, allocations: 0.6562 kB / 0.5595 GB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.564e-05/0.3333, allocations: 1.312 kB / 0.5595 GB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.021e-05/0.3334, allocations: 145.6 kB / 0.5596 GB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.079e-05/0.3334, allocations: 33.33 kB / 0.5596 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.175e-05/0.3334, allocations: 5.891 kB / 0.5596 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003635/0.3338, allocations: 421.4 kB / 0.56 GB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.3338, allocations: 36.84 kB / 0.5601 GB, free: 34.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3338, allocations: 0.5625 kB / 0.5601 GB, free: 34.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001219/0.3339, allocations: 36.95 kB / 0.5601 GB, free: 34.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.334, allocations: 52.77 kB / 0.5602 GB, free: 34.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.049e-05/0.334, allocations: 92.14 kB / 0.5602 GB, free: 34.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.334, allocations: 25.7 kB / 0.5603 GB, free: 34.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.225e-05/0.334, allocations: 80.14 kB / 0.5603 GB, free: 34.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.3341, allocations: 3.109 kB / 0.5603 GB, free: 34.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.3341, allocations: 19.56 kB / 0.5604 GB, free: 34.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.808e-05/0.3341, allocations: 312.8 kB / 0.5607 GB, free: 34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.328e-06/0.3342, allocations: 2.531 kB / 0.5607 GB, free: 34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.792e-06/0.3342, allocations: 5.922 kB / 0.5607 GB, free: 34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.807e-05/0.3342, allocations: 7.547 kB / 0.5607 GB, free: 33.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3342, allocations: 2.438 kB / 0.5607 GB, free: 33.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.706e-05/0.3343, allocations: 32.67 kB / 0.5607 GB, free: 33.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3343, allocations: 6.281 kB / 0.5607 GB, free: 33.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3343, allocations: 0.5 kB / 0.5607 GB, free: 33.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3343, allocations: 4.75 kB / 0.5607 GB, free: 33.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.152e-05/0.3344, allocations: 2.188 kB / 0.5607 GB, free: 33.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3344, allocations: 6.438 kB / 0.5607 GB, free: 33.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.122e-05/0.3344, allocations: 3.891 kB / 0.5607 GB, free: 33.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.3344, allocations: 2.281 kB / 0.5607 GB, free: 33.95 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.645e-05/0.3345, allocations: 112.4 kB / 0.5608 GB, free: 33.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.3345, allocations: 0.7031 kB / 0.5608 GB, free: 33.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.821e-05/0.3346, allocations: 41.83 kB / 0.5609 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.3346, allocations: 1.719 kB / 0.5609 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3346, allocations: 0 / 0.5609 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3346, allocations: 5.703 kB / 0.5609 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.358e-05/0.3347, allocations: 148.2 kB / 0.561 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3347, allocations: 1.219 kB / 0.561 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.221e-05/0.3347, allocations: 2.719 kB / 0.561 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.3347, allocations: 1.125 kB / 0.561 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3347, allocations: 5.406 kB / 0.561 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3347, allocations: 0.6094 kB / 0.561 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3347, allocations: 1 kB / 0.561 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.208e-05/0.3348, allocations: 63.38 kB / 0.5611 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.3348, allocations: 80.8 kB / 0.5612 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.3348, allocations: 5.844 kB / 0.5612 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.3348, allocations: 0 / 0.5612 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.3349, allocations: 11.23 kB / 0.5612 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.3349, allocations: 0 / 0.5612 GB, free: 33.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.337e-05/0.3349, allocations: 75.28 kB / 0.5613 GB, free: 33.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3349, allocations: 1.938 kB / 0.5613 GB, free: 33.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001975/0.3351, allocations: 10.38 kB / 0.5613 GB, free: 33.35 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001674/0.3353, allocations: 111.7 kB / 0.5614 GB, free: 33.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.421e-05/0.3353, allocations: 9.625 kB / 0.5614 GB, free: 33.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3353, allocations: 0 / 0.5614 GB, free: 33.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.763e-06/0.3354, allocations: 3.906 kB / 0.5614 GB, free: 33.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.3355, allocations: 5.094 kB / 0.5614 GB, free: 33.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001576/0.3357, allocations: 79.31 kB / 0.5615 GB, free: 33.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.3358, allocations: 0.6705 MB / 0.5621 GB, free: 32.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.795e-05/0.3358, allocations: 6.828 kB / 0.5621 GB, free: 32.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.127e-05/0.3358, allocations: 8.938 kB / 0.5621 GB, free: 32.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3358, allocations: 1.281 kB / 0.5621 GB, free: 32.45 MB / 446.1 MB Notification: Performance of Templates: time 0.002494/0.3383, allocations: 454.8 kB / 0.5626 GB, free: 32.41 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)