Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 119.8 kB / 17.09 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 197.9 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7634/0.7634, allocations: 115.3 MB / 407.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 68.78 kB / 0.5583 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1804, allocations: 76.18 MB / 0.6327 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002728/0.1832, allocations: 1.342 MB / 0.634 GB, free: 3.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001762/0.1834, allocations: 43.83 kB / 0.6341 GB, free: 2.977 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.1834, allocations: 0 / 0.6341 GB, free: 2.977 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.1836, allocations: 15.91 kB / 0.6341 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.1838, allocations: 15.94 kB / 0.6341 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.337e-06/0.1838, allocations: 0 / 0.6341 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.151e-05/0.1838, allocations: 19.92 kB / 0.6341 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.1839, allocations: 7.938 kB / 0.6341 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.495e-05/0.1839, allocations: 0 / 0.6341 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.682e-05/0.184, allocations: 19.91 kB / 0.6341 GB, free: 2.898 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.184, allocations: 4 kB / 0.6341 GB, free: 2.895 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.709e-05/0.1841, allocations: 4 kB / 0.6341 GB, free: 2.891 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.422e-05/0.1841, allocations: 8 kB / 0.6342 GB, free: 2.883 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.1841, allocations: 7.938 kB / 0.6342 GB, free: 2.875 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.1843, allocations: 35.89 kB / 0.6342 GB, free: 2.84 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1843, allocations: 0 / 0.6342 GB, free: 2.84 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1843, allocations: 0 / 0.6342 GB, free: 2.84 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1843, allocations: 0 / 0.6342 GB, free: 2.84 MB / 478.1 MB 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.0003451/0.1846, allocations: 339.4 kB / 0.6345 GB, free: 2.457 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1847, allocations: 8.031 kB / 0.6345 GB, free: 2.449 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.1847, allocations: 4.938 kB / 0.6345 GB, free: 2.445 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.1849, allocations: 180.2 kB / 0.6347 GB, free: 2.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1849, allocations: 384 / 0.6347 GB, free: 2.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.1849, allocations: 4.375 kB / 0.6347 GB, free: 2.227 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.533e-05/0.185, allocations: 34.25 kB / 0.6347 GB, free: 2.188 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.185, allocations: 192 / 0.6347 GB, free: 2.188 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.185, allocations: 11.86 kB / 0.6348 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.1851, allocations: 0 / 0.6348 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.222e-05/0.1851, allocations: 4 kB / 0.6348 GB, free: 2.172 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.1853, allocations: 153.7 kB / 0.6349 GB, free: 1.973 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.366e-05/0.1853, allocations: 30.52 kB / 0.6349 GB, free: 1.934 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.1853, allocations: 4.859 kB / 0.6349 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.1853, allocations: 0 / 0.6349 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1854, allocations: 30.56 kB / 0.635 GB, free: 1.887 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1854, allocations: 0 / 0.635 GB, free: 1.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001484/0.1855, allocations: 45.69 kB / 0.635 GB, free: 1.836 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.1856, allocations: 51.41 kB / 0.6351 GB, free: 1.773 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1857, allocations: 125.8 kB / 0.6352 GB, free: 1.641 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.1857, allocations: 29.7 kB / 0.6352 GB, free: 1.605 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.483e-05/0.1858, allocations: 80.14 kB / 0.6353 GB, free: 1.523 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.1858, allocations: 0 / 0.6353 GB, free: 1.523 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.1858, allocations: 17.72 kB / 0.6353 GB, free: 1.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1859, allocations: 314.8 kB / 0.6356 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.162e-05/0.186, allocations: 0 / 0.6356 GB, free: 1.184 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-06/0.186, allocations: 4 kB / 0.6356 GB, free: 1.18 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.294e-05/0.186, allocations: 20.92 kB / 0.6356 GB, free: 1.156 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.186, allocations: 0 / 0.6356 GB, free: 1.156 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.324e-05/0.1861, allocations: 37.69 kB / 0.6357 GB, free: 1.113 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1861, allocations: 5.406 kB / 0.6357 GB, free: 1.109 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1861, allocations: 7.875 kB / 0.6357 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1861, allocations: 3.938 kB / 0.6357 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.993e-05/0.1862, allocations: 4 kB / 0.6357 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1862, allocations: 320 / 0.6357 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.363e-05/0.1862, allocations: 0 / 0.6357 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1862, allocations: 0 / 0.6357 GB, free: 1.094 MB / 478.1 MB 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 7.156e-05/0.1863, allocations: 117.9 kB / 0.6358 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.1863, allocations: 3.906 kB / 0.6358 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.52e-05/0.1864, allocations: 49.16 kB / 0.6358 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1864, allocations: 0 / 0.6358 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.1864, allocations: 0 / 0.6358 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1864, allocations: 0 / 0.6358 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.1866, allocations: 153.7 kB / 0.636 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1866, allocations: 0 / 0.636 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.006e-05/0.1866, allocations: 11.94 kB / 0.636 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1866, allocations: 4.031 kB / 0.636 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.1866, allocations: 7.875 kB / 0.636 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1866, allocations: 3.984 kB / 0.636 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1866, allocations: 0 / 0.636 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.191e-05/0.1867, allocations: 57.12 kB / 0.6361 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.1868, allocations: 89.02 kB / 0.6362 GB, free: 0.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.1868, allocations: 3.938 kB / 0.6362 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.105e-05/0.1868, allocations: 4.031 kB / 0.6362 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.1868, allocations: 0 / 0.6362 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.1868, allocations: 0 / 0.6362 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1869, allocations: 99.25 kB / 0.6363 GB, free: 404 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1869, allocations: 0 / 0.6363 GB, free: 404 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002003/0.1871, allocations: 0 / 0.6363 GB, free: 404 kB / 478.1 MB 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.0002054/0.1873, allocations: 112.2 kB / 0.6364 GB, free: 288 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 8.318e-05/0.1874, allocations: 15.92 kB / 0.6364 GB, free: 272 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1874, allocations: 4 kB / 0.6364 GB, free: 268 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-05/0.1875, allocations: 0 / 0.6364 GB, free: 268 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.1876, allocations: 4 kB / 0.6364 GB, free: 264 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.188, allocations: 135.3 kB / 0.6365 GB, free: 96 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.1883, allocations: 0.6847 MB / 0.6372 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/0.1883, allocations: 7.438 kB / 0.6372 GB, free: 15.38 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1883, allocations: 0 / 0.6372 GB, free: 15.38 MB / 494.1 MB Notification: Performance of Templates: time 0.002379/0.1907, allocations: 0.7815 MB / 0.638 GB, free: 14.59 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)