Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.001326/0.001326, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001516/0.001516, allocations: 212.3 kB / 22.24 MB, free: 5.262 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.462/1.462, allocations: 230.6 MB / 256 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.002647/0.002647, allocations: 302 kB / 312.7 MB, free: 2.605 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.258/1.258, allocations: 180.6 MB / 0.5369 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.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [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.00282/0.00282, allocations: 96.73 kB / 0.74 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1778, allocations: 95.39 MB / 0.8332 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00159/0.1794, allocations: 0.59 MB / 0.8337 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001692/0.1796, allocations: 43.75 kB / 0.8338 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.988e-06/0.1796, allocations: 0 / 0.8338 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.1796, allocations: 4 kB / 0.8338 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.03e-05/0.1797, allocations: 4 kB / 0.8338 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.1798, allocations: 15.91 kB / 0.8338 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.852e-05/0.1798, allocations: 8 kB / 0.8338 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 2.22e-05/0.1798, allocations: 0 / 0.8338 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.046e-05/0.1799, allocations: 0 / 0.8338 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.381e-05/0.1799, allocations: 4 kB / 0.8338 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.524e-06/0.1799, allocations: 0 / 0.8338 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.056e-05/0.1799, allocations: 19.97 kB / 0.8338 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.18, allocations: 8 kB / 0.8338 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.299e-05/0.18, allocations: 7.938 kB / 0.8339 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 7.461e-05/0.1801, allocations: 27.84 kB / 0.8339 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.1801, allocations: 0 / 0.8339 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.51e-07/0.1801, allocations: 4 kB / 0.8339 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.755e-06/0.1801, allocations: 0 / 0.8339 GB, free: 7.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000258/0.1803, allocations: 272.5 kB / 0.8341 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.475e-05/0.1803, allocations: 8.75 kB / 0.8342 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.072e-05/0.1804, allocations: 4.938 kB / 0.8342 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.867e-05/0.1804, allocations: 102.5 kB / 0.8343 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1805, allocations: 4.375 kB / 0.8343 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.1805, allocations: 4.375 kB / 0.8343 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.1806, allocations: 91.88 kB / 0.8344 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-06/0.1806, allocations: 192 / 0.8344 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.1806, allocations: 3.938 kB / 0.8344 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.1806, allocations: 4 kB / 0.8344 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.783e-05/0.1807, allocations: 49.69 kB / 0.8344 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.1809, allocations: 228.4 kB / 0.8346 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.755e-05/0.181, allocations: 52.2 kB / 0.8347 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.181, allocations: 30.56 kB / 0.8347 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-06/0.181, allocations: 0 / 0.8347 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.1811, allocations: 34.62 kB / 0.8347 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.1811, allocations: 4 kB / 0.8347 GB, free: 6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001657/0.1812, allocations: 122.7 kB / 0.8349 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1813, allocations: 81.11 kB / 0.8349 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.206e-05/0.1814, allocations: 113.8 kB / 0.835 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1814, allocations: 29.64 kB / 0.8351 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.1814, allocations: 107.9 kB / 0.8352 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.095e-06/0.1814, allocations: 7.891 kB / 0.8352 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.1815, allocations: 21.72 kB / 0.8352 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1816, allocations: 322.8 kB / 0.8355 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.709e-05/0.1817, allocations: 33.69 kB / 0.8355 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.953e-05/0.1817, allocations: 92.69 kB / 0.8356 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.1819, allocations: 130.1 kB / 0.8358 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1819, allocations: 0 / 0.8358 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001712/0.182, allocations: 148.9 kB / 0.8359 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.1821, allocations: 33.7 kB / 0.8359 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1821, allocations: 480 / 0.8359 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1821, allocations: 11.92 kB / 0.8359 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.513e-05/0.1822, allocations: 8 kB / 0.8359 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1822, allocations: 4 kB / 0.836 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.1822, allocations: 7.938 kB / 0.836 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.1822, allocations: 4.25 kB / 0.836 GB, free: 4.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001088/0.1823, allocations: 160.1 kB / 0.8361 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.1824, allocations: 7.938 kB / 0.8361 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.53e-05/0.1824, allocations: 7.469 kB / 0.8361 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.1824, allocations: 0 / 0.8361 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1824, allocations: 0 / 0.8361 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1824, allocations: 0 / 0.8361 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.1825, allocations: 113.2 kB / 0.8362 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1825, allocations: 0 / 0.8362 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1825, allocations: 0 / 0.8362 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1825, allocations: 4 kB / 0.8362 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.1825, allocations: 4 kB / 0.8362 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1825, allocations: 0 / 0.8362 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1825, allocations: 3.984 kB / 0.8363 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.1827, allocations: 190.9 kB / 0.8364 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-06/0.1827, allocations: 4 kB / 0.8364 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.1827, allocations: 0 / 0.8364 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.328e-05/0.1827, allocations: 3.938 kB / 0.8364 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.1828, allocations: 7.984 kB / 0.8364 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.1828, allocations: 3.938 kB / 0.8365 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.568e-05/0.1828, allocations: 87.28 kB / 0.8365 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1828, allocations: 4.031 kB / 0.8365 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000242/0.1831, allocations: 12 kB / 0.8366 GB, free: 3.891 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001414/0.1832, allocations: 99.23 kB / 0.8366 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.1834, allocations: 134.7 kB / 0.8368 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1834, allocations: 4 kB / 0.8368 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.52e-05/0.1834, allocations: 85.11 kB / 0.8369 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.1836, allocations: 13.73 kB / 0.8369 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.1839, allocations: 134.7 kB / 0.837 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.525e-05/0.1839, allocations: 63.34 kB / 0.8371 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.265e-05/0.184, allocations: 11.98 kB / 0.8371 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.485e-05/0.184, allocations: 7.438 kB / 0.8371 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.184, allocations: 0 / 0.8371 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of Templates: time 0.002908/0.1869, allocations: 0.5495 MB / 0.8376 GB, free: 2.715 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.113506007939577] Failed to read output from testmodel.py, exit status != 0: 0.19398208148777485 0.20917126100000002 0.026120663000000002 Calling exit ...