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.001201/0.001201, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 193.1 kB / 16.67 MB, free: 6.574 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 278.6 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9513/0.9513, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 104.2 kB / 0.6815 GB, free: 15.41 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1545, allocations: 86.97 MB / 0.7664 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001415/0.156, allocations: 0.576 MB / 0.767 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005691/0.1565, allocations: 322.8 kB / 0.7673 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.482e-05/0.1566, allocations: 4 kB / 0.7673 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.042e-05/0.1566, allocations: 0 / 0.7673 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.159e-06/0.1566, allocations: 0 / 0.7673 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.157, allocations: 118.1 kB / 0.7674 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.683e-05/0.1571, allocations: 4 kB / 0.7674 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.233e-05/0.1571, allocations: 4 kB / 0.7674 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.227e-05/0.1571, allocations: 3.984 kB / 0.7674 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.089e-05/0.1571, allocations: 4 kB / 0.7674 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.547e-06/0.1571, allocations: 0 / 0.7674 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.1575, allocations: 275.6 kB / 0.7677 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.1575, allocations: 4 kB / 0.7677 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.538e-05/0.1576, allocations: 0 / 0.7677 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.1577, allocations: 83.73 kB / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1577, allocations: 4 kB / 0.7678 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1578, allocations: 3.938 kB / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.1578, allocations: 4 kB / 0.7678 GB, free: 6.969 MB / 0.5606 GB 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.0002627/0.158, allocations: 331.3 kB / 0.7681 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.1581, allocations: 8.031 kB / 0.7681 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.1581, allocations: 4.938 kB / 0.7681 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.758e-05/0.1582, allocations: 164.3 kB / 0.7683 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-06/0.1582, allocations: 384 / 0.7683 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-06/0.1582, allocations: 384 / 0.7683 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.31e-05/0.1583, allocations: 26.27 kB / 0.7683 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.119e-06/0.1583, allocations: 192 / 0.7683 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.1583, allocations: 11.94 kB / 0.7683 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1583, allocations: 3.938 kB / 0.7683 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.773e-05/0.1584, allocations: 3.984 kB / 0.7683 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.1585, allocations: 145.7 kB / 0.7684 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.157e-05/0.1585, allocations: 22.55 kB / 0.7685 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.1585, allocations: 4.859 kB / 0.7685 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004398/0.159, allocations: 433.5 kB / 0.7689 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.159, allocations: 30.56 kB / 0.7689 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.159, allocations: 0 / 0.7689 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000133/0.1592, allocations: 49.56 kB / 0.769 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.1592, allocations: 51.41 kB / 0.769 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.369e-05/0.1592, allocations: 93.98 kB / 0.7691 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.1592, allocations: 29.7 kB / 0.7691 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.072e-05/0.1593, allocations: 80.14 kB / 0.7692 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.1593, allocations: 3.953 kB / 0.7692 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.1593, allocations: 13.72 kB / 0.7692 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.74e-05/0.1594, allocations: 310.8 kB / 0.7695 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-06/0.1594, allocations: 0 / 0.7695 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-06/0.1594, allocations: 0 / 0.7695 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.841e-05/0.1595, allocations: 20.91 kB / 0.7695 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1595, allocations: 0 / 0.7695 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.988e-05/0.1595, allocations: 37.64 kB / 0.7696 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1596, allocations: 4 kB / 0.7696 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1596, allocations: 0 / 0.7696 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1596, allocations: 3.938 kB / 0.7696 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.902e-05/0.1596, allocations: 4 kB / 0.7696 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1596, allocations: 0 / 0.7696 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.398e-06/0.1597, allocations: 0 / 0.7696 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.1597, allocations: 0 / 0.7696 GB, free: 4.797 MB / 0.5606 GB 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.386e-05/0.1597, allocations: 118.5 kB / 0.7697 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.1597, allocations: 0 / 0.7697 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.509e-05/0.1598, allocations: 44.77 kB / 0.7697 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1598, allocations: 0 / 0.7697 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1598, allocations: 0 / 0.7697 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1599, allocations: 0 / 0.7697 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.094e-05/0.1599, allocations: 145.7 kB / 0.7699 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1599, allocations: 0 / 0.7699 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.133e-05/0.16, allocations: 11.97 kB / 0.7699 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.16, allocations: 0 / 0.7699 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.16, allocations: 3.938 kB / 0.7699 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.16, allocations: 4 kB / 0.7699 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.16, allocations: 0 / 0.7699 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.069e-05/0.1601, allocations: 61.12 kB / 0.77 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.1601, allocations: 81.05 kB / 0.77 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.1601, allocations: 3.938 kB / 0.77 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.683e-06/0.1601, allocations: 4.031 kB / 0.77 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.1601, allocations: 4 kB / 0.77 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1601, allocations: 3.984 kB / 0.7701 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.441e-05/0.1602, allocations: 75.28 kB / 0.7701 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1602, allocations: 0 / 0.7701 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001882/0.1604, allocations: 11.94 kB / 0.7701 GB, free: 4.137 MB / 0.5606 GB 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.0001464/0.1605, allocations: 111.2 kB / 0.7702 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.659e-05/0.1606, allocations: 15.94 kB / 0.7703 GB, free: 4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1606, allocations: 0 / 0.7703 GB, free: 4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.595e-06/0.1606, allocations: 4 kB / 0.7703 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.1607, allocations: 0 / 0.7703 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001386/0.1609, allocations: 73.05 kB / 0.7703 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.1611, allocations: 0.6767 MB / 0.771 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.382e-05/0.1611, allocations: 0 / 0.771 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.198e-05/0.1611, allocations: 7.438 kB / 0.771 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.1611, allocations: 4.125 kB / 0.771 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of Templates: time 0.002114/0.1632, allocations: 469.8 kB / 0.7714 GB, free: 2.727 MB / 0.5606 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)