Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 102.3 kB / 16.4 MB, free: 6.508 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.001734/0.001734, allocations: 196 kB / 17.34 MB, free: 5.742 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7557/0.7557, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.17 kB / 0.5577 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.147, allocations: 76.19 MB / 0.6321 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002622/0.1497, allocations: 1.465 MB / 0.6335 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1512, allocations: 1.117 MB / 0.6346 GB, free: 1.828 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.1513, allocations: 0 / 0.6346 GB, free: 1.828 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.1515, allocations: 15.86 kB / 0.6346 GB, free: 1.812 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1517, allocations: 39.78 kB / 0.6346 GB, free: 1.773 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.1519, allocations: 67.83 kB / 0.6347 GB, free: 1.707 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.1521, allocations: 143.6 kB / 0.6348 GB, free: 1.566 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.1523, allocations: 65.08 kB / 0.6349 GB, free: 1.504 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.47e-05/0.1524, allocations: 79.7 kB / 0.635 GB, free: 1.426 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.1526, allocations: 51.77 kB / 0.635 GB, free: 1.375 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.1526, allocations: 16 kB / 0.635 GB, free: 1.359 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-05/0.1527, allocations: 27.98 kB / 0.6351 GB, free: 1.332 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.965e-05/0.1528, allocations: 47.83 kB / 0.6351 GB, free: 1.285 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.397e-05/0.1529, allocations: 71.58 kB / 0.6352 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.1532, allocations: 207.2 kB / 0.6354 GB, free: 1.012 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1532, allocations: 0 / 0.6354 GB, free: 1.012 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1532, allocations: 0 / 0.6354 GB, free: 1.012 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1532, allocations: 0 / 0.6354 GB, free: 1.012 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006708/0.1539, allocations: 0.4948 MB / 0.6359 GB, free: 480 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1539, allocations: 8.031 kB / 0.6359 GB, free: 472 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.696e-05/0.154, allocations: 16.75 kB / 0.6359 GB, free: 456 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.1544, allocations: 248 kB / 0.6361 GB, free: 168 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.1545, allocations: 119.4 kB / 0.6362 GB, free: 24 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.1545, allocations: 8.359 kB / 0.6362 GB, free: 16 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.1549, allocations: 161.6 kB / 0.6364 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1549, allocations: 0 / 0.6364 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.155, allocations: 15.94 kB / 0.6364 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.155, allocations: 7.984 kB / 0.6364 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.505e-05/0.1551, allocations: 43.97 kB / 0.6365 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.1561, allocations: 460.3 kB / 0.6369 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.911e-05/0.1562, allocations: 34.56 kB / 0.6369 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.328e-05/0.1563, allocations: 28.86 kB / 0.637 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.1563, allocations: 8.125 kB / 0.637 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.1563, allocations: 34.56 kB / 0.637 GB, free: 15.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.1563, allocations: 3.938 kB / 0.637 GB, free: 15.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002645/0.1566, allocations: 101.5 kB / 0.6371 GB, free: 15.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.1567, allocations: 55.41 kB / 0.6372 GB, free: 14.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.1569, allocations: 219.7 kB / 0.6374 GB, free: 14.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.1569, allocations: 25.7 kB / 0.6374 GB, free: 14.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/0.157, allocations: 120 kB / 0.6375 GB, free: 14.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.157, allocations: 27.78 kB / 0.6375 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.1571, allocations: 33.66 kB / 0.6376 GB, free: 14.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1572, allocations: 326.8 kB / 0.6379 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.461e-05/0.1572, allocations: 27.98 kB / 0.6379 GB, free: 14.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1574, allocations: 106.2 kB / 0.638 GB, free: 14.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.1575, allocations: 142.2 kB / 0.6381 GB, free: 13.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1575, allocations: 0 / 0.6381 GB, free: 13.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002381/0.1578, allocations: 149.2 kB / 0.6383 GB, free: 13.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1578, allocations: 8.375 kB / 0.6383 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1578, allocations: 4 kB / 0.6383 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1578, allocations: 4 kB / 0.6383 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.158, allocations: 31.92 kB / 0.6383 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/0.158, allocations: 7.938 kB / 0.6383 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.347e-05/0.158, allocations: 15.84 kB / 0.6383 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.1581, allocations: 8 kB / 0.6384 GB, free: 13.63 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001237/0.1582, allocations: 141.8 kB / 0.6385 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.1582, allocations: 15.81 kB / 0.6385 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.1585, allocations: 126.9 kB / 0.6386 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1585, allocations: 0 / 0.6386 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.1585, allocations: 3.938 kB / 0.6386 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1585, allocations: 3.938 kB / 0.6386 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.1587, allocations: 233.5 kB / 0.6389 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1588, allocations: 0 / 0.6389 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.1588, allocations: 12 kB / 0.6389 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1588, allocations: 4 kB / 0.6389 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1588, allocations: 0 / 0.6389 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1588, allocations: 3.984 kB / 0.6389 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1588, allocations: 7.875 kB / 0.6389 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.159, allocations: 191.3 kB / 0.6391 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.1591, allocations: 85.02 kB / 0.6391 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.1591, allocations: 7.938 kB / 0.6392 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.1594, allocations: 23.97 kB / 0.6392 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.1594, allocations: 7.875 kB / 0.6392 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.1594, allocations: 11.98 kB / 0.6392 GB, free: 12.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.1596, allocations: 164.2 kB / 0.6394 GB, free: 12.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1596, allocations: 0 / 0.6394 GB, free: 12.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003198/0.1599, allocations: 31.84 kB / 0.6394 GB, free: 12.48 MB / 494.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 (8): * Single equations (assignments): 8 * 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.0002313/0.1602, allocations: 115.8 kB / 0.6395 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.1603, allocations: 75.83 kB / 0.6396 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.1604, allocations: 3.984 kB / 0.6396 GB, free: 12.28 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.292e-05/0.1604, allocations: 20 kB / 0.6396 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.1607, allocations: 26.02 kB / 0.6396 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004834/0.1612, allocations: 279.8 kB / 0.6399 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.1616, allocations: 0.7353 MB / 0.6406 GB, free: 11.17 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.1617, allocations: 52.73 kB / 0.6407 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.1617, allocations: 19.42 kB / 0.6407 GB, free: 11.1 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1617, allocations: 0 / 0.6407 GB, free: 11.1 MB / 494.1 MB Notification: Performance of Templates: time 0.005217/0.1669, allocations: 2.393 MB / 0.643 GB, free: 8.73 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)