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.001555/0.001555, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001504/0.001504, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.308/1.308, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002457/0.002457, allocations: 286.8 kB / 291.3 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.158/1.158, allocations: 178.5 MB / 0.5079 GB, free: 12.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002566/0.002566, allocations: 95.84 kB / 0.6071 GB, free: 9.219 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1679, allocations: 89.14 MB / 0.6942 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001823/0.1697, allocations: 0.6158 MB / 0.6948 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007518/0.1705, allocations: 352.5 kB / 0.6951 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.1705, allocations: 0 / 0.6951 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.395e-05/0.1706, allocations: 3.938 kB / 0.6951 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.784e-05/0.1706, allocations: 0 / 0.6951 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.171, allocations: 123.6 kB / 0.6952 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.536e-05/0.1711, allocations: 27.91 kB / 0.6953 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.507e-05/0.1711, allocations: 0 / 0.6953 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.422e-05/0.1712, allocations: 12 kB / 0.6953 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.712e-05/0.1712, allocations: 11.92 kB / 0.6953 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1713, allocations: 4 kB / 0.6953 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003763/0.1716, allocations: 275.6 kB / 0.6955 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.1717, allocations: 4 kB / 0.6955 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.1717, allocations: 15.92 kB / 0.6956 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.1719, allocations: 95.78 kB / 0.6957 GB, free: 14.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1719, allocations: 0 / 0.6957 GB, free: 14.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.545e-06/0.1719, allocations: 4 kB / 0.6957 GB, free: 14.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.1719, allocations: 7.922 kB / 0.6957 GB, free: 14.45 MB / 0.545 GB 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.0004221/0.1723, allocations: 359.8 kB / 0.696 GB, free: 14.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.1724, allocations: 11.97 kB / 0.696 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.1724, allocations: 8.844 kB / 0.696 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.1726, allocations: 172.3 kB / 0.6962 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1726, allocations: 4.375 kB / 0.6962 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.1726, allocations: 4.375 kB / 0.6962 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.1727, allocations: 50.25 kB / 0.6963 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1728, allocations: 192 / 0.6963 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1728, allocations: 11.94 kB / 0.6963 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1728, allocations: 0 / 0.6963 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.859e-05/0.1729, allocations: 19.98 kB / 0.6963 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.1731, allocations: 169.6 kB / 0.6964 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.1732, allocations: 58.5 kB / 0.6965 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.1733, allocations: 28.84 kB / 0.6965 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006947/0.174, allocations: 457.5 kB / 0.697 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.174, allocations: 30.56 kB / 0.697 GB, free: 12.83 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.174, allocations: 4 kB / 0.697 GB, free: 12.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001268/0.1753, allocations: 0.5994 MB / 0.6976 GB, free: 12.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.1753, allocations: 55.41 kB / 0.6976 GB, free: 12.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.84e-05/0.1754, allocations: 101.8 kB / 0.6977 GB, free: 11.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1754, allocations: 33.7 kB / 0.6978 GB, free: 11.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.1755, allocations: 80.14 kB / 0.6978 GB, free: 11.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.1755, allocations: 35.45 kB / 0.6979 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.1756, allocations: 29.66 kB / 0.6979 GB, free: 11.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1757, allocations: 322.8 kB / 0.6982 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.1758, allocations: 19.98 kB / 0.6982 GB, free: 11.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/0.1758, allocations: 22.88 kB / 0.6983 GB, free: 11.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.901e-05/0.1759, allocations: 52.84 kB / 0.6983 GB, free: 11.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1759, allocations: 4 kB / 0.6983 GB, free: 11.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001567/0.1761, allocations: 101.5 kB / 0.6984 GB, free: 11.24 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1761, allocations: 8 kB / 0.6984 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1761, allocations: 0 / 0.6984 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.1761, allocations: 0 / 0.6984 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1762, allocations: 31.86 kB / 0.6984 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1763, allocations: 0 / 0.6984 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/0.1763, allocations: 4 kB / 0.6984 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.1763, allocations: 4 kB / 0.6984 GB, free: 11.2 MB / 0.545 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 (13): * Single equations (assignments): 13 * 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.967e-05/0.1764, allocations: 113.8 kB / 0.6986 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.1764, allocations: 7.938 kB / 0.6986 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.1766, allocations: 113.5 kB / 0.6987 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1766, allocations: 0 / 0.6987 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1766, allocations: 0 / 0.6987 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1766, allocations: 0 / 0.6987 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.177, allocations: 354.5 kB / 0.699 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.177, allocations: 4.094 kB / 0.699 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.1771, allocations: 27.86 kB / 0.699 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1772, allocations: 4 kB / 0.699 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1772, allocations: 8 kB / 0.6991 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1772, allocations: 0 / 0.6991 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1772, allocations: 0 / 0.6991 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.1775, allocations: 219.4 kB / 0.6993 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/0.1775, allocations: 89.03 kB / 0.6993 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.1775, allocations: 0 / 0.6993 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/0.1776, allocations: 4 kB / 0.6993 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.1776, allocations: 8.062 kB / 0.6994 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.1777, allocations: 7.984 kB / 0.6994 GB, free: 10.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.1777, allocations: 87.22 kB / 0.6994 GB, free: 10.06 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1777, allocations: 0 / 0.6994 GB, free: 10.06 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002614/0.178, allocations: 36 kB / 0.6995 GB, free: 10.02 MB / 0.545 GB 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 (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.000231/0.1782, allocations: 147.1 kB / 0.6996 GB, free: 9.871 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.1784, allocations: 74.98 kB / 0.6997 GB, free: 9.801 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1784, allocations: 4 kB / 0.6997 GB, free: 9.797 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.965e-05/0.1784, allocations: 31.92 kB / 0.6997 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.1787, allocations: 8.562 kB / 0.6997 GB, free: 9.758 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.179, allocations: 207.8 kB / 0.6999 GB, free: 9.523 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.1793, allocations: 0.6846 MB / 0.7006 GB, free: 8.812 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.1793, allocations: 15.44 kB / 0.7006 GB, free: 8.801 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.1793, allocations: 4 kB / 0.7006 GB, free: 8.797 MB / 0.545 GB Notification: Performance of Templates: time 0.002861/0.1822, allocations: 1.218 MB / 0.7018 GB, free: 7.582 MB / 0.545 GB 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)