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.001084/0.001084, allocations: 104.8 kB / 16.37 MB, free: 6.457 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.001198/0.001198, allocations: 195.8 kB / 17.31 MB, free: 5.812 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001997/0.001997, allocations: 285.8 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.9083/0.9083, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001686, allocations: 102.6 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1479, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001617/0.1495, allocations: 0.5828 MB / 0.6822 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005647/0.1501, allocations: 326.8 kB / 0.6825 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.362e-05/0.1501, allocations: 0 / 0.6825 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.609e-06/0.1502, allocations: 0 / 0.6825 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.499e-06/0.1502, allocations: 0 / 0.6825 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.1506, allocations: 107.7 kB / 0.6826 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.25e-05/0.1506, allocations: 4 kB / 0.6826 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.205e-05/0.1507, allocations: 4 kB / 0.6826 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.016e-05/0.1507, allocations: 0 / 0.6826 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.782e-05/0.1507, allocations: 3.984 kB / 0.6826 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.1507, allocations: 0 / 0.6826 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003569/0.1511, allocations: 279.6 kB / 0.6829 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.534e-06/0.1511, allocations: 0 / 0.6829 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.34e-05/0.1511, allocations: 0 / 0.6829 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.1513, allocations: 87.8 kB / 0.683 GB, free: 6.078 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1513, allocations: 0 / 0.683 GB, free: 6.078 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1513, allocations: 0 / 0.683 GB, free: 6.078 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.1513, allocations: 4 kB / 0.683 GB, free: 6.074 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.0002662/0.1516, allocations: 335.6 kB / 0.6833 GB, free: 5.695 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.1516, allocations: 8.031 kB / 0.6833 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.1516, allocations: 0.9375 kB / 0.6833 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.993e-05/0.1517, allocations: 164.3 kB / 0.6834 GB, free: 5.488 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1517, allocations: 4.375 kB / 0.6835 GB, free: 5.484 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-06/0.1518, allocations: 4.375 kB / 0.6835 GB, free: 5.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.362e-05/0.1518, allocations: 30.25 kB / 0.6835 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.76e-06/0.1518, allocations: 192 / 0.6835 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.1519, allocations: 7.938 kB / 0.6835 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1519, allocations: 3.984 kB / 0.6835 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.688e-05/0.1519, allocations: 4 kB / 0.6835 GB, free: 5.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.152, allocations: 145.7 kB / 0.6836 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.359e-05/0.152, allocations: 22.61 kB / 0.6837 GB, free: 5.207 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.315e-05/0.1521, allocations: 4.859 kB / 0.6837 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004471/0.1525, allocations: 429.5 kB / 0.6841 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1525, allocations: 34.55 kB / 0.6841 GB, free: 4.645 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1526, allocations: 0 / 0.6841 GB, free: 4.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001232/0.1527, allocations: 33.64 kB / 0.6841 GB, free: 4.605 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.1527, allocations: 51.41 kB / 0.6842 GB, free: 4.543 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.32e-05/0.1528, allocations: 93.86 kB / 0.6843 GB, free: 4.441 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.1528, allocations: 29.83 kB / 0.6843 GB, free: 4.406 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.1528, allocations: 92.02 kB / 0.6844 GB, free: 4.312 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.1528, allocations: 11.72 kB / 0.6844 GB, free: 4.305 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.1529, allocations: 9.719 kB / 0.6844 GB, free: 4.289 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.153, allocations: 318.8 kB / 0.6847 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.153, allocations: 0 / 0.6847 GB, free: 3.969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-06/0.153, allocations: 0 / 0.6847 GB, free: 3.969 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/0.153, allocations: 12.92 kB / 0.6847 GB, free: 3.953 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.153, allocations: 0 / 0.6847 GB, free: 3.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.914e-05/0.1531, allocations: 33.7 kB / 0.6848 GB, free: 3.914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1531, allocations: 8 kB / 0.6848 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.1531, allocations: 0 / 0.6848 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1531, allocations: 3.938 kB / 0.6848 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.378e-05/0.1532, allocations: 0 / 0.6848 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.1532, allocations: 3.938 kB / 0.6848 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-06/0.1532, allocations: 3.984 kB / 0.6848 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.1532, allocations: 4 kB / 0.6848 GB, free: 3.891 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.971e-05/0.1533, allocations: 109.9 kB / 0.6849 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.1533, allocations: 0 / 0.6849 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.059e-05/0.1534, allocations: 40.77 kB / 0.6849 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1534, allocations: 4 kB / 0.6849 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1534, allocations: 0 / 0.6849 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1534, allocations: 3.984 kB / 0.6849 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.947e-05/0.1535, allocations: 141.7 kB / 0.6851 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1535, allocations: 0 / 0.6851 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.166e-05/0.1535, allocations: 8.031 kB / 0.6851 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1535, allocations: 0 / 0.6851 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.1535, allocations: 3.938 kB / 0.6851 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1535, allocations: 0 / 0.6851 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1535, allocations: 0 / 0.6851 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.957e-05/0.1536, allocations: 69.06 kB / 0.6852 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.1536, allocations: 77.11 kB / 0.6852 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.1537, allocations: 7.938 kB / 0.6852 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-06/0.1537, allocations: 4.031 kB / 0.6852 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-06/0.1537, allocations: 0 / 0.6852 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.1537, allocations: 0 / 0.6852 GB, free: 3.328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.25e-05/0.1537, allocations: 79.28 kB / 0.6853 GB, free: 3.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1537, allocations: 3.938 kB / 0.6853 GB, free: 3.246 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001844/0.1539, allocations: 15.98 kB / 0.6853 GB, free: 3.23 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.0001453/0.1541, allocations: 107.2 kB / 0.6854 GB, free: 3.113 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.966e-05/0.1541, allocations: 11.94 kB / 0.6854 GB, free: 3.102 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1541, allocations: 0 / 0.6854 GB, free: 3.102 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.711e-06/0.1541, allocations: 0 / 0.6854 GB, free: 3.102 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.1543, allocations: 15.56 kB / 0.6855 GB, free: 3.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001452/0.1544, allocations: 80.97 kB / 0.6855 GB, free: 2.984 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.1546, allocations: 0.669 MB / 0.6862 GB, free: 2.289 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.479e-05/0.1547, allocations: 4 kB / 0.6862 GB, free: 2.285 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.078e-05/0.1547, allocations: 7.438 kB / 0.6862 GB, free: 2.277 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1547, allocations: 4.125 kB / 0.6862 GB, free: 2.273 MB / 494.1 MB Notification: Performance of Templates: time 0.002111/0.1568, allocations: 464.2 kB / 0.6866 GB, free: 1.82 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)