Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001091/0.001091, allocations: 108.5 kB / 16.37 MB, free: 6.48 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.001129/0.00113, allocations: 193.1 kB / 17.31 MB, free: 5.82 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002002/0.002002, allocations: 283.3 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9408/0.9408, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 95.11 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1455, allocations: 86.97 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001495/0.147, allocations: 0.5758 MB / 0.6822 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000521/0.1475, allocations: 326.9 kB / 0.6825 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.18e-05/0.1476, allocations: 0 / 0.6825 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.677e-06/0.1476, allocations: 0 / 0.6825 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.597e-06/0.1476, allocations: 0 / 0.6825 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.148, allocations: 103.7 kB / 0.6826 GB, free: 6.434 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.117e-05/0.148, allocations: 8 kB / 0.6826 GB, free: 6.426 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.193e-05/0.148, allocations: 3.984 kB / 0.6826 GB, free: 6.422 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-06/0.148, allocations: 0 / 0.6826 GB, free: 6.422 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.762e-05/0.1481, allocations: 3.984 kB / 0.6826 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.374e-06/0.1481, allocations: 0 / 0.6826 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/0.1484, allocations: 275.7 kB / 0.6829 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.614e-06/0.1484, allocations: 0 / 0.6829 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.401e-05/0.1485, allocations: 0 / 0.6829 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.1486, allocations: 91.78 kB / 0.683 GB, free: 6.059 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1486, allocations: 0 / 0.683 GB, free: 6.059 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1486, allocations: 0 / 0.683 GB, free: 6.059 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1486, allocations: 8 kB / 0.683 GB, free: 6.051 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.0002452/0.1489, allocations: 335.6 kB / 0.6833 GB, free: 5.672 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.1489, allocations: 8.031 kB / 0.6833 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.149, allocations: 0.9375 kB / 0.6833 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.483e-05/0.149, allocations: 164.4 kB / 0.6835 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.036e-06/0.1491, allocations: 4.312 kB / 0.6835 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1491, allocations: 4.375 kB / 0.6835 GB, free: 5.457 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.746e-05/0.1491, allocations: 26.27 kB / 0.6835 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.1492, allocations: 4.188 kB / 0.6835 GB, free: 5.422 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1492, allocations: 3.938 kB / 0.6835 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-06/0.1492, allocations: 0 / 0.6835 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.554e-05/0.1492, allocations: 4 kB / 0.6835 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.1493, allocations: 149.7 kB / 0.6836 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.052e-05/0.1493, allocations: 22.61 kB / 0.6837 GB, free: 5.188 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.33e-05/0.1494, allocations: 4.859 kB / 0.6837 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004118/0.1498, allocations: 429.5 kB / 0.6841 GB, free: 4.668 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.1498, allocations: 30.56 kB / 0.6841 GB, free: 4.629 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1498, allocations: 0 / 0.6841 GB, free: 4.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001132/0.1499, allocations: 37.58 kB / 0.6841 GB, free: 4.586 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.15, allocations: 51.41 kB / 0.6842 GB, free: 4.523 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.968e-05/0.15, allocations: 102 kB / 0.6843 GB, free: 4.414 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.15, allocations: 25.7 kB / 0.6843 GB, free: 4.383 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.422e-05/0.15, allocations: 88.06 kB / 0.6844 GB, free: 4.293 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.1501, allocations: 3.938 kB / 0.6844 GB, free: 4.289 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.1501, allocations: 9.719 kB / 0.6844 GB, free: 4.273 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.146e-05/0.1502, allocations: 318.8 kB / 0.6847 GB, free: 3.953 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-06/0.1502, allocations: 0 / 0.6847 GB, free: 3.953 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.1502, allocations: 0 / 0.6847 GB, free: 3.953 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.423e-05/0.1502, allocations: 20.92 kB / 0.6847 GB, free: 3.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1502, allocations: 0 / 0.6847 GB, free: 3.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.957e-05/0.1503, allocations: 29.7 kB / 0.6848 GB, free: 3.895 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1503, allocations: 11.98 kB / 0.6848 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.1503, allocations: 0 / 0.6848 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1503, allocations: 3.938 kB / 0.6848 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.06e-05/0.1504, allocations: 0 / 0.6848 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1504, allocations: 0 / 0.6848 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.005e-06/0.1504, allocations: 3.938 kB / 0.6848 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.1504, allocations: 4 kB / 0.6848 GB, free: 3.871 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 4.772e-05/0.1505, allocations: 109.9 kB / 0.6849 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.1505, allocations: 0 / 0.6849 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.988e-05/0.1506, allocations: 44.75 kB / 0.6849 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.1506, allocations: 4 kB / 0.6849 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1506, allocations: 0 / 0.6849 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.1506, allocations: 0 / 0.6849 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.238e-05/0.1507, allocations: 141.7 kB / 0.6851 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1507, allocations: 32 / 0.6851 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.217e-05/0.1507, allocations: 8 kB / 0.6851 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1507, allocations: 3.984 kB / 0.6851 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.1507, allocations: 3.938 kB / 0.6851 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1507, allocations: 0 / 0.6851 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1507, allocations: 0 / 0.6851 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.258e-05/0.1508, allocations: 65.08 kB / 0.6851 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.477e-05/0.1508, allocations: 77.11 kB / 0.6852 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.1508, allocations: 11.95 kB / 0.6852 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-06/0.1508, allocations: 0 / 0.6852 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-06/0.1509, allocations: 3.984 kB / 0.6852 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.1509, allocations: 0 / 0.6852 GB, free: 3.305 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.121e-05/0.1509, allocations: 79.28 kB / 0.6853 GB, free: 3.227 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1509, allocations: 3.938 kB / 0.6853 GB, free: 3.223 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001788/0.1511, allocations: 8 kB / 0.6853 GB, free: 3.215 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.0001351/0.1512, allocations: 111.2 kB / 0.6854 GB, free: 3.094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.349e-05/0.1513, allocations: 15.92 kB / 0.6854 GB, free: 3.078 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.1513, allocations: 0 / 0.6854 GB, free: 3.078 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.386e-06/0.1513, allocations: 4 kB / 0.6854 GB, free: 3.074 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.1514, allocations: 7.469 kB / 0.6855 GB, free: 3.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001296/0.1516, allocations: 76.98 kB / 0.6855 GB, free: 2.969 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.1517, allocations: 0.669 MB / 0.6862 GB, free: 2.273 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.717e-05/0.1518, allocations: 7.984 kB / 0.6862 GB, free: 2.266 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.059e-05/0.1518, allocations: 15.55 kB / 0.6862 GB, free: 2.25 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1518, allocations: 0 / 0.6862 GB, free: 2.25 MB / 494.1 MB Notification: Performance of Templates: time 0.002015/0.1538, allocations: 470.2 kB / 0.6867 GB, free: 1.797 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)