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.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.001524/0.001524, 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.001982/0.001982, allocations: 221.5 kB / 23 MB, free: 4.906 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.375/1.375, 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.002547/0.002547, allocations: 294.9 kB / 313.5 MB, free: 2.629 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.187/1.187, allocations: 180.6 MB / 0.5377 GB, free: 14.47 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [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.002856/0.002856, allocations: 99.09 kB / 0.7408 GB, free: 27.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1773, allocations: 95.39 MB / 0.8339 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001816/0.1791, allocations: 0.6194 MB / 0.8345 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000703/0.1798, allocations: 311.3 kB / 0.8348 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.712e-05/0.1798, allocations: 7.938 kB / 0.8348 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.1798, allocations: 0 / 0.8348 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.411e-05/0.1799, allocations: 3.938 kB / 0.8348 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.1803, allocations: 117.6 kB / 0.8349 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.943e-05/0.1804, allocations: 31.83 kB / 0.835 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.1805, allocations: 4 kB / 0.835 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.735e-05/0.1805, allocations: 4 kB / 0.835 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.831e-05/0.1806, allocations: 15.92 kB / 0.835 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.1806, allocations: 4 kB / 0.835 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003983/0.181, allocations: 255.7 kB / 0.8352 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.181, allocations: 11.97 kB / 0.8353 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.181, allocations: 11.94 kB / 0.8353 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.1812, allocations: 103.6 kB / 0.8354 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1812, allocations: 0 / 0.8354 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.304e-06/0.1812, allocations: 0 / 0.8354 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.1812, allocations: 0 / 0.8354 GB, free: 6.297 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004301/0.1817, allocations: 290 kB / 0.8356 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1817, allocations: 8.75 kB / 0.8356 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.1818, allocations: 12.89 kB / 0.8357 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1819, allocations: 106.5 kB / 0.8358 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1819, allocations: 384 / 0.8358 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.1819, allocations: 12.31 kB / 0.8358 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1821, allocations: 105.6 kB / 0.8359 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1821, allocations: 192 / 0.8359 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1821, allocations: 7.938 kB / 0.8359 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1821, allocations: 0 / 0.8359 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.312e-05/0.1822, allocations: 15.98 kB / 0.8359 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.1823, allocations: 113.3 kB / 0.836 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.1824, allocations: 58.55 kB / 0.8361 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.1825, allocations: 28.86 kB / 0.8361 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005126/0.183, allocations: 79.84 kB / 0.8362 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.183, allocations: 38.56 kB / 0.8362 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.183, allocations: 4 kB / 0.8362 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001271/0.1843, allocations: 459.5 kB / 0.8366 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.1843, allocations: 55.41 kB / 0.8367 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/0.1844, allocations: 97.86 kB / 0.8368 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.1844, allocations: 25.7 kB / 0.8368 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.1845, allocations: 84.12 kB / 0.8369 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.1845, allocations: 43.64 kB / 0.8369 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.1846, allocations: 33.7 kB / 0.837 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1848, allocations: 314.8 kB / 0.8373 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.1848, allocations: 23.98 kB / 0.8373 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.944e-05/0.1848, allocations: 19.98 kB / 0.8373 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.1849, allocations: 54.98 kB / 0.8374 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1849, allocations: 3.938 kB / 0.8374 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000174/0.1851, allocations: 101.6 kB / 0.8375 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1851, allocations: 7.938 kB / 0.8375 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1851, allocations: 0 / 0.8375 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1851, allocations: 0 / 0.8375 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1853, allocations: 24 kB / 0.8375 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1853, allocations: 4 kB / 0.8375 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.1853, allocations: 0 / 0.8375 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.1853, allocations: 7.984 kB / 0.8375 GB, free: 3.867 MB / 0.5762 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 9.482e-05/0.1854, allocations: 118.5 kB / 0.8376 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.1854, allocations: 11.88 kB / 0.8376 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.1856, allocations: 106 kB / 0.8377 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1856, allocations: 0 / 0.8377 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1856, allocations: 4 kB / 0.8377 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1856, allocations: 3.984 kB / 0.8377 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.186, allocations: 294.1 kB / 0.838 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.186, allocations: 4 kB / 0.838 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.1861, allocations: 19.98 kB / 0.838 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/0.1861, allocations: 4 kB / 0.838 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1862, allocations: 0 / 0.838 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1862, allocations: 3.984 kB / 0.838 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1862, allocations: 0 / 0.838 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.1864, allocations: 223.3 kB / 0.8383 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.1865, allocations: 11.98 kB / 0.8383 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1865, allocations: 3.984 kB / 0.8383 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.1866, allocations: 8 kB / 0.8383 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.1866, allocations: 15.98 kB / 0.8383 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.1866, allocations: 4 kB / 0.8383 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.449e-05/0.1866, allocations: 79.28 kB / 0.8384 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1866, allocations: 0 / 0.8384 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002687/0.1869, allocations: 47.86 kB / 0.8384 GB, free: 2.852 MB / 0.5762 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.0002343/0.1871, allocations: 135.2 kB / 0.8386 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.1873, allocations: 59.92 kB / 0.8386 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1873, allocations: 0 / 0.8386 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.207e-05/0.1874, allocations: 31.92 kB / 0.8386 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.1876, allocations: 11.94 kB / 0.8387 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/0.188, allocations: 199.8 kB / 0.8388 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.098e-05/0.188, allocations: 75.25 kB / 0.8389 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.1881, allocations: 11.44 kB / 0.8389 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.1881, allocations: 3.938 kB / 0.8389 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of Templates: time 0.00301/0.1911, allocations: 1.232 MB / 0.8401 GB, free: 1.051 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.986889042891562] Failed to read output from testmodel.py, exit status != 0: 0.1986241270788014 0.21325817000000002 0.028969535 Calling exit ...