Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.001497/0.001497, 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.002492/0.002492, allocations: 212.4 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.781 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.002506/0.002506, allocations: 298.4 kB / 312.7 MB, free: 2.578 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.265/1.265, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") [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.002852/0.002852, allocations: 103.1 kB / 0.74 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1779, allocations: 95.38 MB / 0.8331 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001905/0.1798, allocations: 0.5938 MB / 0.8337 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 4.627e-05/0.1798, allocations: 11.98 kB / 0.8337 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.1799, allocations: 4 kB / 0.8337 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.1799, allocations: 0 / 0.8337 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 1.014e-05/0.1799, allocations: 0 / 0.8337 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.932e-05/0.18, allocations: 3.938 kB / 0.8337 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.18, allocations: 0 / 0.8337 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.819e-05/0.1801, allocations: 416 / 0.8337 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.652e-05/0.1801, allocations: 3.938 kB / 0.8337 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.304e-05/0.1801, allocations: 4 kB / 0.8337 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.1801, allocations: 0 / 0.8337 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.567e-06/0.1801, allocations: 0 / 0.8337 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.1801, allocations: 4 kB / 0.8337 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.1802, allocations: 3.938 kB / 0.8337 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 5.739e-05/0.1802, allocations: 0 / 0.8337 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1802, allocations: 4 kB / 0.8337 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1802, allocations: 0 / 0.8337 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.1802, allocations: 0 / 0.8337 GB, free: 7.191 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003037/0.1805, allocations: 238.4 kB / 0.8339 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.1806, allocations: 13.34 kB / 0.834 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.1806, allocations: 0.9375 kB / 0.834 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.142e-05/0.1807, allocations: 110.5 kB / 0.8341 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1807, allocations: 384 / 0.8341 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.1807, allocations: 4.375 kB / 0.8341 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.546e-05/0.1808, allocations: 34.25 kB / 0.8341 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1808, allocations: 4.172 kB / 0.8341 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1809, allocations: 7.938 kB / 0.8341 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1809, allocations: 0 / 0.8341 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.64e-05/0.1809, allocations: 3.938 kB / 0.8341 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.181, allocations: 97.33 kB / 0.8342 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.777e-05/0.1811, allocations: 14.58 kB / 0.8342 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.339e-05/0.1811, allocations: 8.953 kB / 0.8342 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.1811, allocations: 3.938 kB / 0.8342 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.1811, allocations: 38.56 kB / 0.8343 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1811, allocations: 4 kB / 0.8343 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001329/0.1813, allocations: 41.56 kB / 0.8343 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.1813, allocations: 51.41 kB / 0.8344 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.715e-05/0.1814, allocations: 89.86 kB / 0.8345 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1814, allocations: 25.7 kB / 0.8345 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.1814, allocations: 80.14 kB / 0.8346 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.1814, allocations: 0 / 0.8346 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.1815, allocations: 17.72 kB / 0.8346 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1816, allocations: 311 kB / 0.8349 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.366e-06/0.1816, allocations: 4 kB / 0.8349 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-06/0.1816, allocations: 4 kB / 0.8349 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.328e-05/0.1817, allocations: 4.859 kB / 0.8349 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1817, allocations: 3.938 kB / 0.8349 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.512e-05/0.1817, allocations: 37.69 kB / 0.8349 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1818, allocations: 4 kB / 0.8349 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1818, allocations: 0 / 0.8349 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1818, allocations: 0 / 0.8349 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.1818, allocations: 11.94 kB / 0.8349 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.1818, allocations: 4.094 kB / 0.8349 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.888e-06/0.1819, allocations: 0 / 0.8349 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.1819, allocations: 0 / 0.8349 GB, free: 5.77 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 (1): * Single equations (assignments): 1 * 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.43e-05/0.1819, allocations: 110.4 kB / 0.835 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-06/0.1819, allocations: 4 kB / 0.835 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.757e-05/0.182, allocations: 7 kB / 0.8351 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.182, allocations: 3.938 kB / 0.8351 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.182, allocations: 0 / 0.8351 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.182, allocations: 3.984 kB / 0.8351 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.487e-05/0.1821, allocations: 97.31 kB / 0.8352 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1821, allocations: 4 kB / 0.8352 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-05/0.1821, allocations: 4 kB / 0.8352 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1821, allocations: 0 / 0.8352 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.1821, allocations: 0 / 0.8352 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1821, allocations: 3.938 kB / 0.8352 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1821, allocations: 3.938 kB / 0.8352 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.994e-05/0.1822, allocations: 65.06 kB / 0.8352 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-06/0.1822, allocations: 0 / 0.8352 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-06/0.1822, allocations: 0 / 0.8352 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-06/0.1822, allocations: 4 kB / 0.8352 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.1822, allocations: 3.969 kB / 0.8352 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-06/0.1822, allocations: 4 kB / 0.8352 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.334e-05/0.1822, allocations: 75.28 kB / 0.8353 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1822, allocations: 0 / 0.8353 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001899/0.1824, allocations: 0 / 0.8353 GB, free: 5.324 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): 1 * 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.000158/0.1826, allocations: 91.25 kB / 0.8354 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.785e-05/0.1827, allocations: 15.92 kB / 0.8354 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1827, allocations: 0 / 0.8354 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.919e-06/0.1827, allocations: 4 kB / 0.8354 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.1828, allocations: 6.312 kB / 0.8354 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002082/0.183, allocations: 77.02 kB / 0.8355 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.477e-05/0.1831, allocations: 55.36 kB / 0.8356 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.115e-05/0.1831, allocations: 0 / 0.8356 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.779e-05/0.1831, allocations: 7.438 kB / 0.8356 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1831, allocations: 0 / 0.8356 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of Templates: time 0.002127/0.1852, allocations: 160.9 kB / 0.8357 GB, free: 4.859 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8892615381628275] Failed to read output from testmodel.py, exit status != 0: 0.19259307719767094 0.20881250799999995 0.025582092 Calling exit ...