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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 220.6 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.391/1.391, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002511/0.002511, allocations: 291.9 kB / 313.5 MB, free: 2.637 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.195/1.195, allocations: 180.6 MB / 0.5377 GB, free: 14.59 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002907/0.002907, allocations: 97.34 kB / 0.7408 GB, free: 27.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1718, allocations: 95.38 MB / 0.8339 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001775/0.1735, allocations: 0.6008 MB / 0.8345 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006943/0.1742, allocations: 319.3 kB / 0.8348 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.1743, allocations: 0 / 0.8348 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.233e-05/0.1743, allocations: 0 / 0.8348 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.101e-05/0.1743, allocations: 0 / 0.8348 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004647/0.1748, allocations: 111.6 kB / 0.8349 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.94e-05/0.1748, allocations: 7.938 kB / 0.8349 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.9e-05/0.1749, allocations: 11.98 kB / 0.8349 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.512e-05/0.1749, allocations: 0 / 0.8349 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.125e-05/0.1749, allocations: 11.98 kB / 0.8349 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1749, allocations: 0 / 0.8349 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.1753, allocations: 259.6 kB / 0.8352 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.1754, allocations: 0 / 0.8352 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.1754, allocations: 3.938 kB / 0.8352 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.1756, allocations: 95.72 kB / 0.8353 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1756, allocations: 0 / 0.8353 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1756, allocations: 0 / 0.8353 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.1756, allocations: 0 / 0.8353 GB, free: 6.391 MB / 0.5762 GB 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.0004253/0.176, allocations: 270.2 kB / 0.8355 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.176, allocations: 12.75 kB / 0.8355 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/0.1761, allocations: 4.938 kB / 0.8356 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.1762, allocations: 106.5 kB / 0.8357 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1762, allocations: 8.375 kB / 0.8357 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.1762, allocations: 384 / 0.8357 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1764, allocations: 67.83 kB / 0.8357 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1764, allocations: 192 / 0.8357 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1764, allocations: 3.938 kB / 0.8357 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1764, allocations: 0 / 0.8357 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.976e-05/0.1764, allocations: 4 kB / 0.8357 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.1766, allocations: 101.3 kB / 0.8358 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.944e-05/0.1766, allocations: 26.55 kB / 0.8359 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.496e-05/0.1767, allocations: 16.91 kB / 0.8359 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005517/0.1772, allocations: 71.92 kB / 0.8359 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.1772, allocations: 38.5 kB / 0.836 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 3.206e-06/0.1773, allocations: 3.984 kB / 0.836 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005345/0.1778, allocations: 181.2 kB / 0.8362 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.1778, allocations: 51.41 kB / 0.8362 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.781e-05/0.1779, allocations: 97.84 kB / 0.8363 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.1779, allocations: 29.7 kB / 0.8363 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.178, allocations: 80.14 kB / 0.8364 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.178, allocations: 12.25 kB / 0.8364 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.178, allocations: 21.72 kB / 0.8364 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1782, allocations: 314.8 kB / 0.8367 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.1782, allocations: 8 kB / 0.8367 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.049e-05/0.1783, allocations: 17.72 kB / 0.8368 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.671e-05/0.1783, allocations: 29.66 kB / 0.8368 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1783, allocations: 0 / 0.8368 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.551e-05/0.1784, allocations: 49.69 kB / 0.8368 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1784, allocations: 6.344 kB / 0.8368 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1784, allocations: 4.062 kB / 0.8368 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/0.1785, allocations: 7.938 kB / 0.8369 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.102e-05/0.1785, allocations: 7.938 kB / 0.8369 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1785, allocations: 3.984 kB / 0.8369 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.1786, allocations: 4 kB / 0.8369 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.1786, allocations: 4 kB / 0.8369 GB, free: 4.543 MB / 0.5762 GB 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 8.902e-05/0.1787, allocations: 106.5 kB / 0.837 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.1787, allocations: 4 kB / 0.837 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.1788, allocations: 57.31 kB / 0.837 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1788, allocations: 3.938 kB / 0.837 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1788, allocations: 0 / 0.837 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1788, allocations: 3.984 kB / 0.837 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.143e-05/0.1789, allocations: 101.3 kB / 0.8371 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1789, allocations: 3.938 kB / 0.8371 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-05/0.179, allocations: 8 kB / 0.8371 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.179, allocations: 0 / 0.8371 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.179, allocations: 4 kB / 0.8372 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/0.179, allocations: 3.938 kB / 0.8372 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.179, allocations: 3.938 kB / 0.8372 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.1791, allocations: 89.06 kB / 0.8372 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-06/0.1792, allocations: 0 / 0.8372 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.1792, allocations: 0 / 0.8372 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.818e-05/0.1792, allocations: 7.969 kB / 0.8373 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.1792, allocations: 0 / 0.8373 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.1792, allocations: 7.984 kB / 0.8373 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.185e-05/0.1793, allocations: 79.28 kB / 0.8373 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1793, allocations: 0 / 0.8373 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002043/0.1795, allocations: 23.94 kB / 0.8374 GB, free: 3.973 MB / 0.5762 GB 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.0002178/0.1797, allocations: 131.2 kB / 0.8375 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.133e-05/0.1798, allocations: 12 kB / 0.8375 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1798, allocations: 0 / 0.8375 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-05/0.1798, allocations: 11.98 kB / 0.8375 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.1799, allocations: 4 kB / 0.8375 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.1802, allocations: 143.5 kB / 0.8376 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.631e-05/0.1803, allocations: 59.34 kB / 0.8377 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.1803, allocations: 11.44 kB / 0.8377 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1803, allocations: 0 / 0.8377 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of Templates: time 0.002466/0.1828, allocations: 0.7824 MB / 0.8385 GB, free: 2.77 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.05671658506617] Failed to read output from testmodel.py, exit status != 0: 0.19050961080938578 0.205290769 0.026791351 Calling exit ...