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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009388/0.0009389, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4942/0.4942, allocations: 90.92 MB / 99.35 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 221.5 MB / 343.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008985/0.0008985, allocations: 95.25 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.766e-05/1.768e-05, allocations: 4 kB / 494.5 MB, free: 52.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1289, allocations: 72.32 MB / 0.5535 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4255/0.5545, allocations: 100.7 MB / 0.6519 GB, free: 9.551 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.5547, allocations: 79.56 kB / 0.652 GB, free: 9.504 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01107/0.5658, allocations: 4.035 MB / 0.6559 GB, free: 6.145 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5658, allocations: 3.938 kB / 0.6559 GB, free: 6.141 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.5658, allocations: 0 / 0.6559 GB, free: 6.141 MB / 458.7 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.0002506/0.5661, allocations: 337.2 kB / 0.6562 GB, free: 5.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.5661, allocations: 12.03 kB / 0.6562 GB, free: 5.758 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.5662, allocations: 3.953 kB / 0.6562 GB, free: 5.754 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.967e-05/0.5663, allocations: 163.1 kB / 0.6564 GB, free: 5.555 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.5663, allocations: 4 kB / 0.6564 GB, free: 5.551 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.5663, allocations: 0 / 0.6564 GB, free: 5.551 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.005e-05/0.5664, allocations: 0 / 0.6564 GB, free: 5.551 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.013e-05/0.5664, allocations: 33.64 kB / 0.6564 GB, free: 5.512 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.5664, allocations: 3.938 kB / 0.6564 GB, free: 5.508 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.5665, allocations: 4 kB / 0.6564 GB, free: 5.504 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.5665, allocations: 3.953 kB / 0.6564 GB, free: 5.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.931e-05/0.5666, allocations: 125.5 kB / 0.6566 GB, free: 5.344 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.341e-05/0.5666, allocations: 18.61 kB / 0.6566 GB, free: 5.316 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.265e-05/0.5666, allocations: 4.859 kB / 0.6566 GB, free: 5.309 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004193/0.5671, allocations: 432.7 kB / 0.657 GB, free: 4.797 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.5671, allocations: 30.56 kB / 0.657 GB, free: 4.758 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.5671, allocations: 0 / 0.657 GB, free: 4.758 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001321/0.5672, allocations: 33.64 kB / 0.6571 GB, free: 4.719 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.5673, allocations: 54.78 kB / 0.6571 GB, free: 4.656 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.886e-05/0.5673, allocations: 85 kB / 0.6572 GB, free: 4.566 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.5673, allocations: 25.7 kB / 0.6572 GB, free: 4.535 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.995e-05/0.5673, allocations: 88.17 kB / 0.6573 GB, free: 4.445 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.5674, allocations: 4.531 kB / 0.6573 GB, free: 4.441 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-06/0.5674, allocations: 0 / 0.6573 GB, free: 4.441 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.5675, allocations: 314.8 kB / 0.6576 GB, free: 4.125 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.292e-06/0.5675, allocations: 0 / 0.6576 GB, free: 4.125 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.609e-06/0.5675, allocations: 0 / 0.6576 GB, free: 4.125 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.732e-05/0.5675, allocations: 4 kB / 0.6576 GB, free: 4.121 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5675, allocations: 0 / 0.6576 GB, free: 4.121 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.157e-05/0.5676, allocations: 37.75 kB / 0.6576 GB, free: 4.078 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.5676, allocations: 8 kB / 0.6577 GB, free: 4.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5676, allocations: 0 / 0.6577 GB, free: 4.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.5677, allocations: 0 / 0.6577 GB, free: 4.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.413e-05/0.5677, allocations: 0 / 0.6577 GB, free: 4.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.5677, allocations: 0 / 0.6577 GB, free: 4.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-06/0.5677, allocations: 0 / 0.6577 GB, free: 4.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.5677, allocations: 4 kB / 0.6577 GB, free: 4.066 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.168e-05/0.5678, allocations: 112.2 kB / 0.6578 GB, free: 3.953 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.5678, allocations: 0 / 0.6578 GB, free: 3.953 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.5679, allocations: 41.47 kB / 0.6578 GB, free: 3.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5679, allocations: 7.922 kB / 0.6578 GB, free: 3.902 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5679, allocations: 4 kB / 0.6578 GB, free: 3.898 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.5679, allocations: 3.938 kB / 0.6578 GB, free: 3.895 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.577e-05/0.568, allocations: 122.2 kB / 0.6579 GB, free: 3.738 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.568, allocations: 3.984 kB / 0.6579 GB, free: 3.734 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.438e-05/0.568, allocations: 3.953 kB / 0.6579 GB, free: 3.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.5681, allocations: 4 kB / 0.6579 GB, free: 3.727 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.5681, allocations: 0 / 0.6579 GB, free: 3.727 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5681, allocations: 4.031 kB / 0.6579 GB, free: 3.723 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5681, allocations: 0 / 0.6579 GB, free: 3.723 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.33e-05/0.5682, allocations: 60.08 kB / 0.658 GB, free: 3.648 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.5682, allocations: 81.09 kB / 0.6581 GB, free: 3.551 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.5682, allocations: 7.953 kB / 0.6581 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-06/0.5682, allocations: 0 / 0.6581 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-06/0.5683, allocations: 0 / 0.6581 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.5683, allocations: 4.031 kB / 0.6581 GB, free: 3.539 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.667e-05/0.5683, allocations: 75.28 kB / 0.6582 GB, free: 3.465 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5683, allocations: 0 / 0.6582 GB, free: 3.465 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.5685, allocations: 19.94 kB / 0.6582 GB, free: 3.445 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000194/0.5687, allocations: 111.2 kB / 0.6583 GB, free: 3.324 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.938e-05/0.5688, allocations: 6.75 kB / 0.6583 GB, free: 3.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5688, allocations: 0 / 0.6583 GB, free: 3.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.877e-06/0.5688, allocations: 4 kB / 0.6583 GB, free: 3.316 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.747e-05/0.5689, allocations: 8.062 kB / 0.6583 GB, free: 3.309 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001375/0.569, allocations: 47.95 kB / 0.6584 GB, free: 3.238 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.5693, allocations: 0.6729 MB / 0.659 GB, free: 2.539 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.881e-05/0.5693, allocations: 4 kB / 0.659 GB, free: 2.535 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.5693, allocations: 7.438 kB / 0.659 GB, free: 2.527 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5693, allocations: 0 / 0.659 GB, free: 2.527 MB / 458.7 MB Notification: Performance of Templates: time 0.002003/0.5713, allocations: 415 kB / 0.6594 GB, free: 2.133 MB / 458.7 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)