Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008625/0.0008625, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008964/0.0008964, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001674/0.001674, allocations: 269.8 kB / 291.4 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9026/0.9026, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.000441, allocations: 18.33 kB / 0.598 GB, free: 28.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.155, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0006436/0.1557, allocations: 343.2 kB / 0.6848 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005767/0.1562, allocations: 333 kB / 0.6851 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.1563, allocations: 0 / 0.6851 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.007e-05/0.1563, allocations: 0 / 0.6851 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.015e-05/0.1563, allocations: 0 / 0.6851 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.1567, allocations: 88.97 kB / 0.6852 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.184e-05/0.1567, allocations: 19.98 kB / 0.6852 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.1568, allocations: 3.984 kB / 0.6852 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.181e-05/0.1568, allocations: 11.94 kB / 0.6853 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.347e-05/0.1569, allocations: 19.91 kB / 0.6853 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1569, allocations: 5.062 kB / 0.6853 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.1572, allocations: 263.7 kB / 0.6855 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.197e-06/0.1573, allocations: 0 / 0.6855 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.1573, allocations: 31.3 kB / 0.6856 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.1574, allocations: 63.88 kB / 0.6856 GB, free: 14.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1574, allocations: 0 / 0.6856 GB, free: 14.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1574, allocations: 0 / 0.6856 GB, free: 14.3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1574, allocations: 0.75 kB / 0.6856 GB, free: 14.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004033/0.1579, allocations: 356.2 kB / 0.686 GB, free: 13.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1579, allocations: 10.69 kB / 0.686 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.718e-05/0.158, allocations: 7.906 kB / 0.686 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.1581, allocations: 174.9 kB / 0.6861 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1581, allocations: 4 kB / 0.6862 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.1581, allocations: 8 kB / 0.6862 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.1583, allocations: 45.69 kB / 0.6862 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1583, allocations: 1.875 kB / 0.6862 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1583, allocations: 4 kB / 0.6862 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1583, allocations: 0 / 0.6862 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.346e-05/0.1584, allocations: 19.98 kB / 0.6862 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.1586, allocations: 167.3 kB / 0.6864 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.1587, allocations: 62.48 kB / 0.6864 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.1588, allocations: 24.86 kB / 0.6865 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006627/0.1594, allocations: 465.1 kB / 0.6869 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1595, allocations: 39.12 kB / 0.687 GB, free: 12.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.1595, allocations: 4 kB / 0.687 GB, free: 12.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001149/0.1606, allocations: 0.5877 MB / 0.6875 GB, free: 12.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.1607, allocations: 51.41 kB / 0.6876 GB, free: 11.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.402e-05/0.1607, allocations: 105.8 kB / 0.6877 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.1608, allocations: 29.7 kB / 0.6877 GB, free: 11.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.1608, allocations: 84.14 kB / 0.6878 GB, free: 11.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.1608, allocations: 43.39 kB / 0.6878 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.1608, allocations: 0 / 0.6878 GB, free: 11.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.61e-05/0.1609, allocations: 314.8 kB / 0.6881 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.651e-05/0.161, allocations: 19.98 kB / 0.6881 GB, free: 11.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.432e-05/0.161, allocations: 27.92 kB / 0.6882 GB, free: 11.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.369e-05/0.1611, allocations: 24 kB / 0.6882 GB, free: 11.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1611, allocations: 0 / 0.6882 GB, free: 11.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001382/0.1612, allocations: 101.6 kB / 0.6883 GB, free: 11.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.1612, allocations: 4 kB / 0.6883 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.1612, allocations: 0 / 0.6883 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1613, allocations: 4 kB / 0.6883 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.1614, allocations: 19.98 kB / 0.6883 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1614, allocations: 0 / 0.6883 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.1614, allocations: 7.938 kB / 0.6883 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1614, allocations: 3.953 kB / 0.6883 GB, free: 11.14 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.972e-05/0.1615, allocations: 114.5 kB / 0.6884 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.1615, allocations: 12 kB / 0.6885 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.1617, allocations: 97.62 kB / 0.6885 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1617, allocations: 3.938 kB / 0.6885 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1617, allocations: 4 kB / 0.6886 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1617, allocations: 0 / 0.6886 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.1621, allocations: 354.6 kB / 0.6889 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1621, allocations: 3.938 kB / 0.6889 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.894e-05/0.1622, allocations: 23.98 kB / 0.6889 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1622, allocations: 4 kB / 0.6889 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1622, allocations: 4 kB / 0.6889 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.1622, allocations: 0 / 0.6889 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1622, allocations: 3.938 kB / 0.6889 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.1625, allocations: 225.7 kB / 0.6891 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.1625, allocations: 89.05 kB / 0.6892 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1625, allocations: 3.984 kB / 0.6892 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/0.1626, allocations: 0 / 0.6892 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.1627, allocations: 8.062 kB / 0.6892 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.1627, allocations: 11.98 kB / 0.6893 GB, free: 10.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.12e-05/0.1627, allocations: 83.23 kB / 0.6893 GB, free: 10.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1627, allocations: 0 / 0.6893 GB, free: 10.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.163, allocations: 40 kB / 0.6894 GB, free: 9.977 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002291/0.1632, allocations: 151.1 kB / 0.6895 GB, free: 9.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.1633, allocations: 63.92 kB / 0.6896 GB, free: 9.758 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1634, allocations: 0 / 0.6896 GB, free: 9.758 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.386e-05/0.1634, allocations: 35.92 kB / 0.6896 GB, free: 9.723 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.1636, allocations: 8.656 kB / 0.6896 GB, free: 9.715 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.1639, allocations: 187.4 kB / 0.6898 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.1642, allocations: 0.6848 MB / 0.6905 GB, free: 8.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.042e-05/0.1642, allocations: 19.97 kB / 0.6905 GB, free: 8.773 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/0.1642, allocations: 11.44 kB / 0.6905 GB, free: 8.762 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1642, allocations: 0 / 0.6905 GB, free: 8.762 MB / 494.1 MB Notification: Performance of Templates: time 0.00331/0.1676, allocations: 1.354 MB / 0.6918 GB, free: 7.438 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)