Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 108 kB / 15.6 MB, free: 132 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.00122/0.00122, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001989/0.001989, allocations: 287 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9388/0.9388, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 94.34 kB / 0.5952 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1561, allocations: 86.98 MB / 0.6802 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001909/0.1581, allocations: 0.5918 MB / 0.6808 GB, free: 116 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007156/0.1588, allocations: 346.7 kB / 0.6811 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.276e-05/0.1589, allocations: 0 / 0.6811 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.1589, allocations: 0 / 0.6811 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.005e-05/0.1589, allocations: 7.938 kB / 0.6811 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005181/0.1595, allocations: 107.7 kB / 0.6812 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.257e-05/0.1595, allocations: 12 kB / 0.6812 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.39e-05/0.1595, allocations: 3.938 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.679e-05/0.1596, allocations: 4 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.683e-05/0.1596, allocations: 11.91 kB / 0.6812 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1596, allocations: 4 kB / 0.6812 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003761/0.16, allocations: 271.7 kB / 0.6815 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.16, allocations: 0 / 0.6815 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.1601, allocations: 3.984 kB / 0.6815 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.1602, allocations: 95.78 kB / 0.6816 GB, free: 15.26 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1603, allocations: 4 kB / 0.6816 GB, free: 15.26 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1603, allocations: 3.938 kB / 0.6816 GB, free: 15.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1603, allocations: 4 kB / 0.6816 GB, free: 15.25 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003615/0.1606, allocations: 343.8 kB / 0.6819 GB, free: 14.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1607, allocations: 8.031 kB / 0.6819 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.1607, allocations: 0.9375 kB / 0.6819 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.1609, allocations: 172.4 kB / 0.6821 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1609, allocations: 4.375 kB / 0.6821 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.1609, allocations: 384 / 0.6821 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.665e-05/0.161, allocations: 30.27 kB / 0.6821 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.161, allocations: 4.188 kB / 0.6821 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.161, allocations: 3.938 kB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.161, allocations: 4 kB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.209e-05/0.1611, allocations: 3.984 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.1612, allocations: 157.6 kB / 0.6823 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.395e-05/0.1613, allocations: 30.53 kB / 0.6823 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.1613, allocations: 8.922 kB / 0.6823 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007252/0.1621, allocations: 453.5 kB / 0.6828 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1621, allocations: 38.55 kB / 0.6828 GB, free: 13.76 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.1621, allocations: 4 kB / 0.6828 GB, free: 13.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006079/0.1627, allocations: 250.3 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.1628, allocations: 51.41 kB / 0.6831 GB, free: 13.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.393e-05/0.1628, allocations: 93.86 kB / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1629, allocations: 29.7 kB / 0.6832 GB, free: 13.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.1629, allocations: 80.14 kB / 0.6833 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.1629, allocations: 16.09 kB / 0.6833 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.163, allocations: 21.7 kB / 0.6833 GB, free: 13.13 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1631, allocations: 314.8 kB / 0.6836 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.1631, allocations: 7.938 kB / 0.6836 GB, free: 12.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.151e-05/0.1631, allocations: 21.7 kB / 0.6837 GB, free: 12.78 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.65e-05/0.1632, allocations: 21.72 kB / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1632, allocations: 4 kB / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.202e-05/0.1633, allocations: 49.64 kB / 0.6837 GB, free: 12.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.1633, allocations: 15.92 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1633, allocations: 3.938 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1634, allocations: 0 / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.554e-05/0.1634, allocations: 4 kB / 0.6838 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1634, allocations: 4 kB / 0.6838 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.1635, allocations: 0 / 0.6838 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1635, allocations: 0 / 0.6838 GB, free: 12.67 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.589e-05/0.1635, allocations: 119.2 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.1636, allocations: 3.938 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.1637, allocations: 57.11 kB / 0.6839 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1637, allocations: 0 / 0.6839 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1637, allocations: 0 / 0.6839 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.319e-06/0.1638, allocations: 4 kB / 0.6839 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.1639, allocations: 149.7 kB / 0.6841 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1639, allocations: 4 kB / 0.6841 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.1639, allocations: 8 kB / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.164, allocations: 3.938 kB / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.164, allocations: 0 / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.164, allocations: 0 / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.164, allocations: 0 / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.1642, allocations: 85.05 kB / 0.6842 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.1642, allocations: 85.02 kB / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.1642, allocations: 3.938 kB / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.734e-05/0.1643, allocations: 4.062 kB / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.1643, allocations: 4.031 kB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.1643, allocations: 4 kB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.214e-05/0.1644, allocations: 79.27 kB / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.893e-06/0.1644, allocations: 4 kB / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.1646, allocations: 19.94 kB / 0.6844 GB, free: 11.94 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002253/0.1648, allocations: 131.2 kB / 0.6845 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.165, allocations: 24.27 kB / 0.6845 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.165, allocations: 0 / 0.6845 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.001e-05/0.165, allocations: 15.97 kB / 0.6845 GB, free: 11.76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.1652, allocations: 8 kB / 0.6845 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.1654, allocations: 109.6 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.1657, allocations: 0.6768 MB / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.717e-05/0.1657, allocations: 12.06 kB / 0.6853 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.885e-05/0.1657, allocations: 11.44 kB / 0.6853 GB, free: 10.89 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1657, allocations: 0 / 0.6853 GB, free: 10.89 MB / 494.1 MB Notification: Performance of Templates: time 0.003394/0.1691, allocations: 0.8632 MB / 0.6862 GB, free: 10.06 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)