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.001673/0.001673, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001623/0.001623, allocations: 215.7 kB / 23.01 MB, free: 4.609 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: 8.043 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.002418/0.002418, allocations: 281.2 kB / 313.5 MB, free: 2.844 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.155/1.155, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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.002767/0.002767, allocations: 97.73 kB / 0.7408 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1785, allocations: 95.39 MB / 0.834 GB, free: 8.113 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001834/0.1803, allocations: 0.5962 MB / 0.8346 GB, free: 7.52 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0007228/0.181, allocations: 355.1 kB / 0.8349 GB, free: 7.172 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.1811, allocations: 8 kB / 0.8349 GB, free: 7.164 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.517e-05/0.1811, allocations: 3.938 kB / 0.8349 GB, free: 7.16 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 2.115e-05/0.1811, allocations: 0 / 0.8349 GB, free: 7.16 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.1815, allocations: 109.4 kB / 0.835 GB, free: 7.055 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 5.296e-05/0.1816, allocations: 11.98 kB / 0.835 GB, free: 7.043 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.1816, allocations: 0 / 0.835 GB, free: 7.043 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 1.557e-05/0.1817, allocations: 4 kB / 0.8351 GB, free: 7.039 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 5.7e-05/0.1817, allocations: 15.97 kB / 0.8351 GB, free: 7.023 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.1817, allocations: 3.938 kB / 0.8351 GB, free: 7.02 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.1821, allocations: 279.6 kB / 0.8353 GB, free: 6.746 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.1821, allocations: 0 / 0.8353 GB, free: 6.746 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 1.79e-05/0.1822, allocations: 0 / 0.8353 GB, free: 6.746 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.1824, allocations: 103.6 kB / 0.8354 GB, free: 6.645 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1824, allocations: 0 / 0.8354 GB, free: 6.645 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1824, allocations: 0 / 0.8354 GB, free: 6.645 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.1824, allocations: 0 / 0.8354 GB, free: 6.645 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.0003976/0.1828, allocations: 262.2 kB / 0.8357 GB, free: 6.355 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1828, allocations: 12.75 kB / 0.8357 GB, free: 6.344 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/0.1829, allocations: 4.938 kB / 0.8357 GB, free: 6.34 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.183, allocations: 106.5 kB / 0.8358 GB, free: 6.211 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.183, allocations: 8.375 kB / 0.8358 GB, free: 6.203 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.183, allocations: 4.375 kB / 0.8358 GB, free: 6.199 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.897e-05/0.1831, allocations: 34.25 kB / 0.8359 GB, free: 6.16 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1831, allocations: 192 / 0.8359 GB, free: 6.16 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1831, allocations: 3.938 kB / 0.8359 GB, free: 6.156 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1831, allocations: 0 / 0.8359 GB, free: 6.156 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.465e-05/0.1832, allocations: 11.94 kB / 0.8359 GB, free: 6.145 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.1833, allocations: 124.8 kB / 0.836 GB, free: 5.98 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 6.107e-05/0.1834, allocations: 22.58 kB / 0.836 GB, free: 5.949 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.1834, allocations: 4.859 kB / 0.836 GB, free: 5.941 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005568/0.184, allocations: 75.97 kB / 0.8361 GB, free: 5.867 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.184, allocations: 34.56 kB / 0.8361 GB, free: 5.824 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.184, allocations: 0 / 0.8361 GB, free: 5.824 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3): time 0.0005667/0.1846, allocations: 181.4 kB / 0.8363 GB, free: 5.613 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.1846, allocations: 55.41 kB / 0.8363 GB, free: 5.547 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.1847, allocations: 97.86 kB / 0.8364 GB, free: 5.441 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1847, allocations: 25.7 kB / 0.8365 GB, free: 5.41 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.1847, allocations: 84.12 kB / 0.8365 GB, free: 5.324 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.1848, allocations: 15.84 kB / 0.8366 GB, free: 5.309 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.1848, allocations: 17.72 kB / 0.8366 GB, free: 5.285 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1849, allocations: 314.8 kB / 0.8369 GB, free: 4.969 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.185, allocations: 20.11 kB / 0.8369 GB, free: 4.949 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/0.185, allocations: 13.72 kB / 0.8369 GB, free: 4.93 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.185, allocations: 21.72 kB / 0.8369 GB, free: 4.902 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.185, allocations: 0 / 0.8369 GB, free: 4.902 MB / 0.5763 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.689e-05/0.1851, allocations: 57.56 kB / 0.837 GB, free: 4.84 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1852, allocations: 11.94 kB / 0.837 GB, free: 4.828 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1852, allocations: 4.062 kB / 0.837 GB, free: 4.824 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1852, allocations: 0 / 0.837 GB, free: 4.824 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.6e-05/0.1852, allocations: 8 kB / 0.837 GB, free: 4.816 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1852, allocations: 3.984 kB / 0.837 GB, free: 4.812 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.019e-05/0.1853, allocations: 4 kB / 0.837 GB, free: 4.809 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1853, allocations: 0 / 0.837 GB, free: 4.809 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 8.552e-05/0.1854, allocations: 114.5 kB / 0.8371 GB, free: 4.688 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.1854, allocations: 3.938 kB / 0.8371 GB, free: 4.684 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.1855, allocations: 61.31 kB / 0.8372 GB, free: 4.609 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.1855, allocations: 4 kB / 0.8372 GB, free: 4.605 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1855, allocations: 0 / 0.8372 GB, free: 4.605 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1855, allocations: 0 / 0.8372 GB, free: 4.605 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.1856, allocations: 120.8 kB / 0.8373 GB, free: 4.445 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1856, allocations: 0 / 0.8373 GB, free: 4.445 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/0.1857, allocations: 4 kB / 0.8373 GB, free: 4.441 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.1857, allocations: 7.922 kB / 0.8373 GB, free: 4.434 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1857, allocations: 4 kB / 0.8373 GB, free: 4.43 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1857, allocations: 4 kB / 0.8373 GB, free: 4.426 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1857, allocations: 4 kB / 0.8373 GB, free: 4.422 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.1858, allocations: 77.02 kB / 0.8374 GB, free: 4.328 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.1858, allocations: 4 kB / 0.8374 GB, free: 4.324 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.1859, allocations: 7.969 kB / 0.8374 GB, free: 4.316 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.64e-05/0.1859, allocations: 4 kB / 0.8374 GB, free: 4.312 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.1859, allocations: 3.984 kB / 0.8374 GB, free: 4.309 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1859, allocations: 0 / 0.8374 GB, free: 4.309 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.186, allocations: 83.34 kB / 0.8375 GB, free: 4.227 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.186, allocations: 0 / 0.8375 GB, free: 4.227 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002018/0.1862, allocations: 23.94 kB / 0.8375 GB, free: 4.203 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.00021/0.1864, allocations: 131.1 kB / 0.8376 GB, free: 4.062 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 8.485e-05/0.1865, allocations: 15.92 kB / 0.8377 GB, free: 4.047 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1865, allocations: 4 kB / 0.8377 GB, free: 4.043 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 1.629e-05/0.1865, allocations: 8 kB / 0.8377 GB, free: 4.035 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.1866, allocations: 4.219 kB / 0.8377 GB, free: 4.031 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.1869, allocations: 143.2 kB / 0.8378 GB, free: 3.859 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.1872, allocations: 0.6806 MB / 0.8385 GB, free: 3.152 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.1872, allocations: 7.438 kB / 0.8385 GB, free: 3.145 MB / 0.5763 GB Notification: Performance of SimCode: time 2.91e-07/0.1872, allocations: 0 / 0.8385 GB, free: 3.145 MB / 0.5763 GB Notification: Performance of Templates: time 0.002434/0.1896, allocations: 0.7656 MB / 0.8392 GB, free: 2.383 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 os._exit(0), Time elapsed: 7.942290385020897] Failed to read output from testmodel.py, exit status != 0: 0.1966494780499488 0.211256622 0.025998093 Calling exit ...