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.001089/0.001089, allocations: 111.8 kB / 16.37 MB, free: 5.984 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.001107/0.001107, allocations: 193.4 kB / 17.31 MB, free: 5.602 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.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 294.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.8782/0.8782, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001649, allocations: 103.3 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.149, allocations: 86.97 MB / 0.6816 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001614/0.1506, allocations: 0.5902 MB / 0.6822 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005893/0.1512, allocations: 342.8 kB / 0.6825 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.9e-05/0.1512, allocations: 0 / 0.6825 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.04e-05/0.1513, allocations: 0 / 0.6825 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.665e-05/0.1513, allocations: 0 / 0.6825 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.1517, allocations: 123.6 kB / 0.6826 GB, free: 6.383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.046e-05/0.1518, allocations: 4 kB / 0.6827 GB, free: 6.379 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.281e-05/0.1518, allocations: 4 kB / 0.6827 GB, free: 6.375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.948e-05/0.1518, allocations: 11.92 kB / 0.6827 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.236e-05/0.1519, allocations: 4 kB / 0.6827 GB, free: 6.359 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.1519, allocations: 0 / 0.6827 GB, free: 6.359 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003468/0.1522, allocations: 279.6 kB / 0.6829 GB, free: 6.086 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.1523, allocations: 4 kB / 0.6829 GB, free: 6.082 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.1523, allocations: 7.922 kB / 0.6829 GB, free: 6.074 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.1524, allocations: 83.86 kB / 0.683 GB, free: 5.992 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1525, allocations: 0 / 0.683 GB, free: 5.992 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1525, allocations: 0 / 0.683 GB, free: 5.992 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1525, allocations: 4 kB / 0.683 GB, free: 5.988 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.0003057/0.1528, allocations: 347.5 kB / 0.6834 GB, free: 5.598 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.1528, allocations: 12.03 kB / 0.6834 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.1529, allocations: 0.9375 kB / 0.6834 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.153, allocations: 164.3 kB / 0.6835 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.153, allocations: 4.375 kB / 0.6835 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.153, allocations: 384 / 0.6835 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.125e-05/0.1531, allocations: 38.25 kB / 0.6836 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.1531, allocations: 192 / 0.6836 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1531, allocations: 7.938 kB / 0.6836 GB, free: 5.332 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1531, allocations: 0 / 0.6836 GB, free: 5.332 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.71e-05/0.1532, allocations: 4 kB / 0.6836 GB, free: 5.328 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.1533, allocations: 153.7 kB / 0.6837 GB, free: 5.129 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.882e-05/0.1534, allocations: 26.45 kB / 0.6838 GB, free: 5.094 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.543e-05/0.1534, allocations: 4.859 kB / 0.6838 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006645/0.1541, allocations: 469.5 kB / 0.6842 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.1541, allocations: 30.56 kB / 0.6842 GB, free: 4.496 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 3.076e-06/0.1541, allocations: 3.984 kB / 0.6842 GB, free: 4.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004452/0.1546, allocations: 258.2 kB / 0.6845 GB, free: 4.188 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.1546, allocations: 55.41 kB / 0.6845 GB, free: 4.121 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.277e-05/0.1547, allocations: 93.86 kB / 0.6846 GB, free: 4.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.1547, allocations: 25.7 kB / 0.6847 GB, free: 3.988 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/0.1547, allocations: 84.12 kB / 0.6847 GB, free: 3.902 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.1547, allocations: 15.8 kB / 0.6847 GB, free: 3.887 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.1548, allocations: 18.06 kB / 0.6848 GB, free: 3.863 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.1549, allocations: 314.8 kB / 0.6851 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.1549, allocations: 7.984 kB / 0.6851 GB, free: 3.539 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.831e-05/0.1549, allocations: 21.72 kB / 0.6851 GB, free: 3.512 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.699e-05/0.155, allocations: 29.66 kB / 0.6851 GB, free: 3.477 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.155, allocations: 0 / 0.6851 GB, free: 3.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001008/0.1551, allocations: 57.62 kB / 0.6852 GB, free: 3.414 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1551, allocations: 7.938 kB / 0.6852 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1551, allocations: 4 kB / 0.6852 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.1552, allocations: 0 / 0.6852 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.216e-05/0.1552, allocations: 4 kB / 0.6852 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1552, allocations: 3.984 kB / 0.6852 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.745e-05/0.1552, allocations: 4 kB / 0.6852 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1553, allocations: 0 / 0.6852 GB, free: 3.391 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 6.318e-05/0.1553, allocations: 117.9 kB / 0.6853 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.1554, allocations: 3.938 kB / 0.6853 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.1555, allocations: 57.12 kB / 0.6854 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1555, allocations: 0 / 0.6854 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1555, allocations: 0 / 0.6854 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1555, allocations: 0 / 0.6854 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.905e-05/0.1556, allocations: 153.7 kB / 0.6855 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1556, allocations: 4 kB / 0.6855 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.247e-05/0.1557, allocations: 11.98 kB / 0.6855 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1557, allocations: 11.88 kB / 0.6855 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.1557, allocations: 0 / 0.6855 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1557, allocations: 0 / 0.6855 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1557, allocations: 0 / 0.6855 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.1558, allocations: 73.12 kB / 0.6856 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.1559, allocations: 88.98 kB / 0.6857 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.1559, allocations: 3.938 kB / 0.6857 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.1559, allocations: 3.938 kB / 0.6857 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.156, allocations: 12.05 kB / 0.6857 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.156, allocations: 0 / 0.6857 GB, free: 2.754 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.412e-05/0.156, allocations: 75.28 kB / 0.6858 GB, free: 2.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.156, allocations: 0 / 0.6858 GB, free: 2.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002112/0.1562, allocations: 28 kB / 0.6858 GB, free: 2.652 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.0001708/0.1564, allocations: 127.2 kB / 0.6859 GB, free: 2.516 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.161e-05/0.1565, allocations: 19.98 kB / 0.686 GB, free: 2.496 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1565, allocations: 4.219 kB / 0.686 GB, free: 2.492 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.553e-05/0.1565, allocations: 11.94 kB / 0.686 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.1567, allocations: 1.312 kB / 0.686 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002107/0.1569, allocations: 105.6 kB / 0.6861 GB, free: 2.352 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.1571, allocations: 0.6771 MB / 0.6867 GB, free: 1.648 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.561e-05/0.1571, allocations: 4 kB / 0.6867 GB, free: 1.645 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.437e-05/0.1572, allocations: 11.44 kB / 0.6868 GB, free: 1.633 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1572, allocations: 0 / 0.6868 GB, free: 1.633 MB / 494.1 MB Notification: Performance of Templates: time 0.002745/0.1599, allocations: 0.8788 MB / 0.6876 GB, free: 0.7891 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)