Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001299/0.001299, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001462/0.001462, allocations: 212.5 kB / 22.99 MB, free: 4.945 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.00244/0.00244, allocations: 289.8 kB / 313.5 MB, free: 2.602 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.196/1.196, allocations: 180.6 MB / 0.5377 GB, free: 14.46 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [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.002888/0.002888, allocations: 108 kB / 0.7408 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1734, allocations: 95.38 MB / 0.8339 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001747/0.1751, allocations: 0.6 MB / 0.8345 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002176/0.1773, allocations: 1.441 MB / 0.8359 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.1773, allocations: 0 / 0.8359 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.1774, allocations: 4 kB / 0.8359 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.908e-05/0.1774, allocations: 3.938 kB / 0.8359 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.178, allocations: 143.9 kB / 0.8361 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.499e-05/0.1781, allocations: 31.95 kB / 0.8361 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.841e-05/0.1781, allocations: 4 kB / 0.8361 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-05/0.1782, allocations: 23.92 kB / 0.8361 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.849e-05/0.1783, allocations: 15.97 kB / 0.8361 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.1783, allocations: 4 kB / 0.8361 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004198/0.1787, allocations: 247.5 kB / 0.8364 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.1787, allocations: 7.984 kB / 0.8364 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.1788, allocations: 11.92 kB / 0.8364 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.1791, allocations: 183.5 kB / 0.8366 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1791, allocations: 0 / 0.8366 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1791, allocations: 0 / 0.8366 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1791, allocations: 0 / 0.8366 GB, free: 5.023 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005579/0.1797, allocations: 298 kB / 0.8368 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1797, allocations: 8.75 kB / 0.8368 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004401/0.1801, allocations: 64.86 kB / 0.8369 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.1802, allocations: 110.5 kB / 0.837 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.1803, allocations: 384 / 0.837 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.1803, allocations: 4.375 kB / 0.837 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.1805, allocations: 107.5 kB / 0.8371 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1806, allocations: 0 / 0.8371 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1806, allocations: 0 / 0.8371 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.1806, allocations: 0 / 0.8371 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002828/0.1809, allocations: 67.92 kB / 0.8372 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.181, allocations: 117.3 kB / 0.8373 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005705/0.1816, allocations: 118.5 kB / 0.8374 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.1817, allocations: 48.91 kB / 0.8375 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004067/0.1822, allocations: 75.91 kB / 0.8375 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.1822, allocations: 38.5 kB / 0.8376 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1822, allocations: 0 / 0.8376 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.001114/0.1833, allocations: 336.9 kB / 0.8379 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.1833, allocations: 51.41 kB / 0.8379 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.008e-05/0.1834, allocations: 97.84 kB / 0.838 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.1834, allocations: 29.7 kB / 0.8381 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.1835, allocations: 80.14 kB / 0.8381 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.1835, allocations: 16.03 kB / 0.8382 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.1835, allocations: 21.7 kB / 0.8382 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1837, allocations: 318.8 kB / 0.8385 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1838, allocations: 31.97 kB / 0.8385 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.184, allocations: 44.03 kB / 0.8385 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.1843, allocations: 76.73 kB / 0.8386 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1843, allocations: 0 / 0.8386 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003492/0.1846, allocations: 113.6 kB / 0.8387 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1846, allocations: 11.94 kB / 0.8387 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1846, allocations: 4 kB / 0.8387 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1847, allocations: 0 / 0.8387 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.1848, allocations: 23.97 kB / 0.8388 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1848, allocations: 0 / 0.8388 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.565e-05/0.1849, allocations: 11.98 kB / 0.8388 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.1849, allocations: 0 / 0.8388 GB, free: 2.539 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 (6): * Single equations (assignments): 6 * 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.772e-05/0.185, allocations: 122.4 kB / 0.8389 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.185, allocations: 3.938 kB / 0.8389 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000441/0.1855, allocations: 133.3 kB / 0.839 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1855, allocations: 336 / 0.839 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1855, allocations: 0 / 0.839 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1855, allocations: 4 kB / 0.839 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.1856, allocations: 113.3 kB / 0.8391 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1856, allocations: 0 / 0.8391 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.1857, allocations: 19.98 kB / 0.8392 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1857, allocations: 4 kB / 0.8392 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1857, allocations: 15.86 kB / 0.8392 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1857, allocations: 256 / 0.8392 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1857, allocations: 4 kB / 0.8392 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.1863, allocations: 181 kB / 0.8394 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.1863, allocations: 15.91 kB / 0.8394 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.1864, allocations: 11.88 kB / 0.8394 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.1865, allocations: 11.98 kB / 0.8394 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.1865, allocations: 7.984 kB / 0.8394 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.1865, allocations: 0 / 0.8394 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.1866, allocations: 79.28 kB / 0.8395 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1866, allocations: 0 / 0.8395 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002179/0.1868, allocations: 40.02 kB / 0.8395 GB, free: 1.719 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.00019/0.187, allocations: 127 kB / 0.8396 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003604/0.1873, allocations: 83.92 kB / 0.8397 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.1873, allocations: 0 / 0.8397 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.1875, allocations: 39.97 kB / 0.8398 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.1876, allocations: 4 kB / 0.8398 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006123/0.1882, allocations: 211.1 kB / 0.84 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.622e-05/0.1883, allocations: 63.34 kB / 0.84 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.1884, allocations: 11.44 kB / 0.84 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.1884, allocations: 4 kB / 0.84 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of Templates: time 0.00291/0.1913, allocations: 1.144 MB / 0.8412 GB, free: 15.98 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.01823981711641] Failed to read output from testmodel.py, exit status != 0: 0.1984359142370522 0.21288480999999995 0.030895055 Calling exit ...