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.001139/0.001139, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001098/0.001098, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8155/0.8155, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.53 kB / 0.5685 GB, free: 28.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1633, allocations: 77.93 MB / 0.6446 GB, free: 8.965 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001579/0.1649, allocations: 0.5735 MB / 0.6452 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006587/0.1655, allocations: 323.2 kB / 0.6455 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.712e-05/0.1656, allocations: 0 / 0.6455 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.1656, allocations: 4 kB / 0.6455 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.59e-06/0.1656, allocations: 0 / 0.6455 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004354/0.1661, allocations: 107.7 kB / 0.6456 GB, free: 7.973 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.993e-05/0.1661, allocations: 7.984 kB / 0.6456 GB, free: 7.965 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.77e-05/0.1662, allocations: 0 / 0.6456 GB, free: 7.965 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.207e-05/0.1662, allocations: 3.938 kB / 0.6456 GB, free: 7.961 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.1e-05/0.1662, allocations: 4 kB / 0.6456 GB, free: 7.957 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.286e-06/0.1662, allocations: 0 / 0.6456 GB, free: 7.957 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/0.1666, allocations: 275.6 kB / 0.6459 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.884e-06/0.1666, allocations: 0 / 0.6459 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.599e-05/0.1666, allocations: 8 kB / 0.6459 GB, free: 7.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.1668, allocations: 91.72 kB / 0.6459 GB, free: 7.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1668, allocations: 0 / 0.6459 GB, free: 7.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1668, allocations: 0 / 0.6459 GB, free: 7.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1668, allocations: 0 / 0.6459 GB, free: 7.59 MB / 494.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.0002773/0.1671, allocations: 331.3 kB / 0.6463 GB, free: 7.215 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.1672, allocations: 8.625 kB / 0.6463 GB, free: 7.207 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.1672, allocations: 4.938 kB / 0.6463 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.159e-05/0.1673, allocations: 168.3 kB / 0.6464 GB, free: 7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1673, allocations: 12.31 kB / 0.6465 GB, free: 6.988 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-06/0.1673, allocations: 384 / 0.6465 GB, free: 6.988 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.449e-05/0.1674, allocations: 26.27 kB / 0.6465 GB, free: 6.957 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.1674, allocations: 4.125 kB / 0.6465 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1674, allocations: 7.938 kB / 0.6465 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1674, allocations: 0 / 0.6465 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.908e-05/0.1675, allocations: 4 kB / 0.6465 GB, free: 6.941 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.1676, allocations: 141.7 kB / 0.6466 GB, free: 6.754 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.701e-05/0.1676, allocations: 30.53 kB / 0.6467 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.1677, allocations: 4.859 kB / 0.6467 GB, free: 6.707 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004776/0.1681, allocations: 425.6 kB / 0.6471 GB, free: 6.199 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.1682, allocations: 30.56 kB / 0.6471 GB, free: 6.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1682, allocations: 0 / 0.6471 GB, free: 6.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000167/0.1684, allocations: 45.64 kB / 0.6471 GB, free: 6.109 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.1684, allocations: 51.41 kB / 0.6472 GB, free: 6.047 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.941e-05/0.1684, allocations: 89.86 kB / 0.6473 GB, free: 5.949 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.1685, allocations: 25.7 kB / 0.6473 GB, free: 5.918 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.255e-05/0.1685, allocations: 84.08 kB / 0.6474 GB, free: 5.832 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.1685, allocations: 3.953 kB / 0.6474 GB, free: 5.828 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.1685, allocations: 17.7 kB / 0.6474 GB, free: 5.805 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1686, allocations: 315 kB / 0.6477 GB, free: 5.488 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-06/0.1687, allocations: 0 / 0.6477 GB, free: 5.488 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-06/0.1687, allocations: 4 kB / 0.6477 GB, free: 5.484 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.363e-05/0.1687, allocations: 8.859 kB / 0.6477 GB, free: 5.473 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1687, allocations: 0 / 0.6477 GB, free: 5.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.797e-05/0.1688, allocations: 33.7 kB / 0.6477 GB, free: 5.434 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1688, allocations: 6.031 kB / 0.6477 GB, free: 5.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1688, allocations: 3.984 kB / 0.6478 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1688, allocations: 4.031 kB / 0.6478 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.878e-05/0.1689, allocations: 11.94 kB / 0.6478 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1689, allocations: 0 / 0.6478 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.518e-06/0.1689, allocations: 0 / 0.6478 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.1689, allocations: 0 / 0.6478 GB, free: 5.41 MB / 494.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 5.432e-05/0.1689, allocations: 105.8 kB / 0.6479 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.169, allocations: 0 / 0.6479 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.098e-05/0.1691, allocations: 52.73 kB / 0.6479 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1691, allocations: 4.031 kB / 0.6479 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1691, allocations: 3.938 kB / 0.6479 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1691, allocations: 0 / 0.6479 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.02e-05/0.1692, allocations: 141.7 kB / 0.6481 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1692, allocations: 0 / 0.6481 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.229e-05/0.1692, allocations: 4 kB / 0.6481 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1692, allocations: 3.938 kB / 0.6481 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.1692, allocations: 3.938 kB / 0.6481 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1692, allocations: 3.984 kB / 0.6481 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1692, allocations: 7.938 kB / 0.6481 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.796e-05/0.1693, allocations: 61.14 kB / 0.6481 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/0.1693, allocations: 77.11 kB / 0.6482 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.1694, allocations: 3.938 kB / 0.6482 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-06/0.1694, allocations: 0 / 0.6482 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.1694, allocations: 7.984 kB / 0.6482 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.1694, allocations: 0 / 0.6482 GB, free: 4.836 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.81e-05/0.1694, allocations: 75.28 kB / 0.6483 GB, free: 4.762 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1694, allocations: 0 / 0.6483 GB, free: 4.762 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000192/0.1696, allocations: 15.97 kB / 0.6483 GB, free: 4.746 MB / 494.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.0001719/0.1698, allocations: 107.2 kB / 0.6484 GB, free: 4.629 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.756e-05/0.1699, allocations: 15.92 kB / 0.6484 GB, free: 4.613 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1699, allocations: 0 / 0.6484 GB, free: 4.613 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.721e-06/0.1699, allocations: 0 / 0.6484 GB, free: 4.613 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.17, allocations: 4 kB / 0.6484 GB, free: 4.609 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001657/0.1702, allocations: 81.09 kB / 0.6485 GB, free: 4.504 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.1704, allocations: 0.669 MB / 0.6492 GB, free: 3.809 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.86e-05/0.1705, allocations: 4 kB / 0.6492 GB, free: 3.805 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.279e-05/0.1705, allocations: 7.438 kB / 0.6492 GB, free: 3.797 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1705, allocations: 0 / 0.6492 GB, free: 3.797 MB / 494.1 MB Notification: Performance of Templates: time 0.002203/0.1727, allocations: 469.3 kB / 0.6496 GB, free: 3.34 MB / 494.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)