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.00194/0.00194, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002424/0.002424, allocations: 213.3 kB / 22.24 MB, free: 4.855 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 8.066 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.002707/0.002707, allocations: 292 kB / 312.7 MB, free: 2.777 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.305/1.305, allocations: 180.6 MB / 0.5369 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 178] 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.002987/0.002987, allocations: 101.7 kB / 0.74 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1621, allocations: 95.39 MB / 0.8332 GB, free: 7.793 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00179/0.1639, allocations: 0.5959 MB / 0.8338 GB, free: 7.195 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0006967/0.1645, allocations: 315.3 kB / 0.8341 GB, free: 6.887 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.847e-05/0.1646, allocations: 0 / 0.8341 GB, free: 6.887 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.1646, allocations: 4 kB / 0.8341 GB, free: 6.883 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 1.489e-05/0.1646, allocations: 0 / 0.8341 GB, free: 6.883 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004785/0.1651, allocations: 111.6 kB / 0.8342 GB, free: 6.773 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 4.622e-05/0.1651, allocations: 8 kB / 0.8342 GB, free: 6.766 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.1652, allocations: 4 kB / 0.8342 GB, free: 6.762 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 1.772e-05/0.1652, allocations: 11.86 kB / 0.8342 GB, free: 6.75 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.427e-05/0.1652, allocations: 7.984 kB / 0.8342 GB, free: 6.742 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.1652, allocations: 0 / 0.8342 GB, free: 6.742 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004059/0.1656, allocations: 259.7 kB / 0.8344 GB, free: 6.488 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.1656, allocations: 0 / 0.8344 GB, free: 6.488 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 1.913e-05/0.1657, allocations: 7.984 kB / 0.8345 GB, free: 6.48 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.1659, allocations: 95.66 kB / 0.8345 GB, free: 6.387 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1659, allocations: 0 / 0.8345 GB, free: 6.387 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1659, allocations: 0 / 0.8345 GB, free: 6.387 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.1659, allocations: 0 / 0.8345 GB, free: 6.387 MB / 0.5763 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.0003402/0.1662, allocations: 267 kB / 0.8348 GB, free: 6.094 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.1662, allocations: 12.75 kB / 0.8348 GB, free: 6.082 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.1663, allocations: 0.9375 kB / 0.8348 GB, free: 6.082 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1664, allocations: 118.5 kB / 0.8349 GB, free: 5.941 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.1664, allocations: 4.375 kB / 0.8349 GB, free: 5.938 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.1664, allocations: 384 / 0.8349 GB, free: 5.938 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.1665, allocations: 59.91 kB / 0.835 GB, free: 5.867 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.1665, allocations: 192 / 0.835 GB, free: 5.867 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1666, allocations: 7.938 kB / 0.835 GB, free: 5.859 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1666, allocations: 0 / 0.835 GB, free: 5.859 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.021e-05/0.1666, allocations: 3.984 kB / 0.835 GB, free: 5.855 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.1667, allocations: 101.3 kB / 0.8351 GB, free: 5.727 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 5.682e-05/0.1668, allocations: 18.61 kB / 0.8351 GB, free: 5.699 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.1668, allocations: 16.92 kB / 0.8351 GB, free: 5.68 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005468/0.1673, allocations: 79.84 kB / 0.8352 GB, free: 5.602 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1674, allocations: 38.5 kB / 0.8352 GB, free: 5.555 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1674, allocations: 4 kB / 0.8352 GB, free: 5.551 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3): time 0.0004843/0.1679, allocations: 177.2 kB / 0.8354 GB, free: 5.344 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.1679, allocations: 55.41 kB / 0.8355 GB, free: 5.277 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/0.168, allocations: 89.86 kB / 0.8356 GB, free: 5.18 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.168, allocations: 29.7 kB / 0.8356 GB, free: 5.145 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.168, allocations: 88.12 kB / 0.8357 GB, free: 5.055 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.1681, allocations: 7.906 kB / 0.8357 GB, free: 5.047 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.1681, allocations: 17.72 kB / 0.8357 GB, free: 5.023 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1683, allocations: 311.2 kB / 0.836 GB, free: 4.711 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.907e-05/0.1683, allocations: 15.98 kB / 0.836 GB, free: 4.695 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.3e-05/0.1683, allocations: 21.72 kB / 0.836 GB, free: 4.668 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.652e-05/0.1684, allocations: 29.66 kB / 0.8361 GB, free: 4.633 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1684, allocations: 0 / 0.8361 GB, free: 4.633 MB / 0.5763 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001175/0.1685, allocations: 49.69 kB / 0.8361 GB, free: 4.578 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1685, allocations: 4 kB / 0.8361 GB, free: 4.574 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1685, allocations: 4 kB / 0.8361 GB, free: 4.57 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1685, allocations: 7.875 kB / 0.8361 GB, free: 4.562 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.695e-05/0.1686, allocations: 12 kB / 0.8361 GB, free: 4.551 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.1686, allocations: 4 kB / 0.8361 GB, free: 4.547 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.855e-05/0.1686, allocations: 0 / 0.8361 GB, free: 4.547 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1686, allocations: 4 kB / 0.8361 GB, free: 4.543 MB / 0.5763 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 9.539e-05/0.1687, allocations: 114.5 kB / 0.8362 GB, free: 4.422 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.1688, allocations: 144 / 0.8362 GB, free: 4.422 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.1689, allocations: 57.3 kB / 0.8363 GB, free: 4.352 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1689, allocations: 0 / 0.8363 GB, free: 4.352 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1689, allocations: 0 / 0.8363 GB, free: 4.352 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1689, allocations: 8 kB / 0.8363 GB, free: 4.344 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.849e-05/0.169, allocations: 101.3 kB / 0.8364 GB, free: 4.215 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.169, allocations: 7.938 kB / 0.8364 GB, free: 4.207 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.063e-05/0.1691, allocations: 4 kB / 0.8364 GB, free: 4.203 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1691, allocations: 0 / 0.8364 GB, free: 4.203 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1691, allocations: 0 / 0.8364 GB, free: 4.203 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.1691, allocations: 3.938 kB / 0.8364 GB, free: 4.199 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1691, allocations: 0 / 0.8364 GB, free: 4.199 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.1692, allocations: 89 kB / 0.8365 GB, free: 4.094 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-06/0.1692, allocations: 0 / 0.8365 GB, free: 4.094 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.1692, allocations: 64 / 0.8365 GB, free: 4.094 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.905e-05/0.1693, allocations: 11.97 kB / 0.8365 GB, free: 4.082 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.1693, allocations: 4 kB / 0.8365 GB, free: 4.078 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.1693, allocations: 0 / 0.8365 GB, free: 4.078 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.986e-05/0.1694, allocations: 79.28 kB / 0.8366 GB, free: 4 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.1694, allocations: 0 / 0.8366 GB, free: 4 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002249/0.1696, allocations: 27.92 kB / 0.8366 GB, free: 3.973 MB / 0.5763 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.0001947/0.1698, allocations: 127.1 kB / 0.8367 GB, free: 3.836 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 8.866e-05/0.1699, allocations: 12.16 kB / 0.8368 GB, free: 3.824 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1699, allocations: 8.062 kB / 0.8368 GB, free: 3.816 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 1.953e-05/0.1699, allocations: 7.984 kB / 0.8368 GB, free: 3.809 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.17, allocations: 4 kB / 0.8368 GB, free: 3.805 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.1703, allocations: 117.5 kB / 0.8369 GB, free: 3.664 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.081e-05/0.1704, allocations: 55.36 kB / 0.8369 GB, free: 3.59 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 3.354e-05/0.1704, allocations: 11.92 kB / 0.8369 GB, free: 3.578 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.1704, allocations: 7.438 kB / 0.837 GB, free: 3.57 MB / 0.5763 GB Notification: Performance of SimCode: time 3.5e-07/0.1704, allocations: 4 kB / 0.837 GB, free: 3.566 MB / 0.5763 GB Notification: Performance of Templates: time 0.003458/0.1739, allocations: 0.8821 MB / 0.8378 GB, free: 2.727 MB / 0.5763 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 sys.exit(0), Time elapsed: 6.278304843232036] Failed to read output from testmodel.py, exit status != 0: 0.18117590807378292 0.19738587599999996 0.028365795000000003 Calling exit ...