Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.001314/0.001314, allocations: 102.3 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.001499/0.001499, allocations: 217.1 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.362/1.362, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.002413/0.002413, allocations: 287 kB / 313.5 MB, free: 2.82 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.162/1.162, allocations: 180.6 MB / 0.5377 GB, free: 13.07 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.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") [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.002817/0.002817, allocations: 106.9 kB / 0.7408 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1813, allocations: 95.38 MB / 0.8339 GB, free: 8.172 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002765/0.1841, allocations: 1.4 MB / 0.8353 GB, free: 6.758 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0001511/0.1843, allocations: 43.81 kB / 0.8353 GB, free: 6.715 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.1843, allocations: 0 / 0.8353 GB, free: 6.715 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.1845, allocations: 15.86 kB / 0.8354 GB, free: 6.699 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.1846, allocations: 19.92 kB / 0.8354 GB, free: 6.68 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 3.707e-06/0.1846, allocations: 0 / 0.8354 GB, free: 6.68 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 7.053e-05/0.1846, allocations: 19.88 kB / 0.8354 GB, free: 6.66 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.1847, allocations: 0 / 0.8354 GB, free: 6.66 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.522e-05/0.1847, allocations: 7.984 kB / 0.8354 GB, free: 6.652 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 5.832e-05/0.1848, allocations: 15.92 kB / 0.8354 GB, free: 6.637 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1848, allocations: 4 kB / 0.8354 GB, free: 6.633 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 4.4e-05/0.1848, allocations: 8 kB / 0.8354 GB, free: 6.625 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.1849, allocations: 11.92 kB / 0.8354 GB, free: 6.613 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.1849, allocations: 7.938 kB / 0.8355 GB, free: 6.605 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.185, allocations: 31.83 kB / 0.8355 GB, free: 6.574 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.185, allocations: 4 kB / 0.8355 GB, free: 6.57 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.232e-06/0.185, allocations: 0 / 0.8355 GB, free: 6.57 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.185, allocations: 0 / 0.8355 GB, free: 6.57 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000329/0.1853, allocations: 258.2 kB / 0.8357 GB, free: 6.285 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1854, allocations: 13.34 kB / 0.8357 GB, free: 6.273 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.1854, allocations: 0.9375 kB / 0.8358 GB, free: 6.273 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.1856, allocations: 126.4 kB / 0.8359 GB, free: 6.125 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.1856, allocations: 384 / 0.8359 GB, free: 6.125 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.1856, allocations: 384 / 0.8359 GB, free: 6.125 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.797e-05/0.1857, allocations: 30.27 kB / 0.8359 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1857, allocations: 192 / 0.8359 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.1857, allocations: 3.938 kB / 0.8359 GB, free: 6.086 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.1857, allocations: 0 / 0.8359 GB, free: 6.086 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.908e-05/0.1857, allocations: 4 kB / 0.8359 GB, free: 6.082 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.1859, allocations: 128.8 kB / 0.836 GB, free: 5.914 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 4.955e-05/0.1859, allocations: 22.52 kB / 0.8361 GB, free: 5.883 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.092e-05/0.1859, allocations: 8.922 kB / 0.8361 GB, free: 5.871 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.186, allocations: 0 / 0.8361 GB, free: 5.871 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.186, allocations: 38.55 kB / 0.8361 GB, free: 5.824 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.186, allocations: 0 / 0.8361 GB, free: 5.824 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.1861, allocations: 45.64 kB / 0.8361 GB, free: 5.773 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.1861, allocations: 55.34 kB / 0.8362 GB, free: 5.707 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1863, allocations: 117.8 kB / 0.8363 GB, free: 5.582 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1863, allocations: 25.7 kB / 0.8363 GB, free: 5.551 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.1863, allocations: 84.08 kB / 0.8364 GB, free: 5.465 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.1863, allocations: 15.92 kB / 0.8364 GB, free: 5.449 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.1864, allocations: 13.72 kB / 0.8364 GB, free: 5.43 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1865, allocations: 310.8 kB / 0.8367 GB, free: 5.117 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-06/0.1865, allocations: 4.125 kB / 0.8367 GB, free: 5.113 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-06/0.1865, allocations: 4 kB / 0.8367 GB, free: 5.109 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.726e-05/0.1865, allocations: 16.8 kB / 0.8368 GB, free: 5.09 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1865, allocations: 0 / 0.8368 GB, free: 5.09 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.436e-05/0.1866, allocations: 37.69 kB / 0.8368 GB, free: 5.047 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1866, allocations: 10.12 kB / 0.8368 GB, free: 5.039 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1866, allocations: 3.938 kB / 0.8368 GB, free: 5.035 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1866, allocations: 0 / 0.8368 GB, free: 5.035 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.46e-05/0.1867, allocations: 8.094 kB / 0.8368 GB, free: 5.027 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.1867, allocations: 0 / 0.8368 GB, free: 5.027 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.314e-05/0.1867, allocations: 0 / 0.8368 GB, free: 5.027 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.1867, allocations: 0 / 0.8368 GB, free: 5.027 MB / 0.5763 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.105e-05/0.1868, allocations: 118.5 kB / 0.8369 GB, free: 4.902 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.1868, allocations: 3.953 kB / 0.8369 GB, free: 4.898 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.017e-05/0.1869, allocations: 49.05 kB / 0.837 GB, free: 4.84 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.1869, allocations: 0 / 0.837 GB, free: 4.84 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1869, allocations: 0 / 0.837 GB, free: 4.84 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1869, allocations: 8.016 kB / 0.837 GB, free: 4.832 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.187, allocations: 124.8 kB / 0.8371 GB, free: 4.668 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.187, allocations: 0 / 0.8371 GB, free: 4.668 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.187, allocations: 4 kB / 0.8371 GB, free: 4.664 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.187, allocations: 3.938 kB / 0.8371 GB, free: 4.66 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.187, allocations: 3.938 kB / 0.8371 GB, free: 4.656 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.187, allocations: 0 / 0.8371 GB, free: 4.656 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.187, allocations: 0 / 0.8371 GB, free: 4.656 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.803e-05/0.1871, allocations: 69.11 kB / 0.8372 GB, free: 4.57 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.1871, allocations: 7.953 kB / 0.8372 GB, free: 4.562 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.1871, allocations: 3.938 kB / 0.8372 GB, free: 4.559 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-06/0.1871, allocations: 0 / 0.8372 GB, free: 4.559 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-06/0.1872, allocations: 0 / 0.8372 GB, free: 4.559 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.1872, allocations: 0 / 0.8372 GB, free: 4.559 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 6.664e-05/0.1872, allocations: 95.27 kB / 0.8373 GB, free: 4.465 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.1872, allocations: 3.938 kB / 0.8373 GB, free: 4.461 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0001879/0.1874, allocations: 4 kB / 0.8373 GB, free: 4.457 MB / 0.5763 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.0001914/0.1876, allocations: 117.4 kB / 0.8374 GB, free: 4.336 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 6.907e-05/0.1877, allocations: 7.938 kB / 0.8374 GB, free: 4.328 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1877, allocations: 0 / 0.8374 GB, free: 4.328 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 7.855e-06/0.1877, allocations: 4 kB / 0.8374 GB, free: 4.324 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.1878, allocations: 6.875 kB / 0.8374 GB, free: 4.32 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.1881, allocations: 141 kB / 0.8376 GB, free: 4.152 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1884, allocations: 0.6807 MB / 0.8382 GB, free: 3.445 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.9e-05/0.1884, allocations: 7.438 kB / 0.8382 GB, free: 3.438 MB / 0.5763 GB Notification: Performance of SimCode: time 3.01e-07/0.1884, allocations: 0 / 0.8382 GB, free: 3.438 MB / 0.5763 GB Notification: Performance of Templates: time 0.002252/0.1906, allocations: 0.7725 MB / 0.839 GB, free: 2.672 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.281371164135635] Failed to read output from testmodel.py, exit status != 0: 0.19787175906822085 0.21214986700000002 0.024357616000000002 Calling exit ...