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.001191/0.001191, allocations: 108.7 kB / 16.41 MB, free: 6.426 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.001262/0.001262, allocations: 189.2 kB / 17.34 MB, free: 5.73 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.257/1.257, allocations: 222.9 MB / 241 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.6925/0.6925, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.23 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1403, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002944/0.1433, allocations: 1.466 MB / 0.6335 GB, free: 2.922 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.145, allocations: 1.113 MB / 0.6346 GB, free: 1.801 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.1451, allocations: 0 / 0.6346 GB, free: 1.801 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.1453, allocations: 15.86 kB / 0.6346 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.1455, allocations: 39.78 kB / 0.6346 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.1457, allocations: 70.27 kB / 0.6347 GB, free: 1.68 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.1459, allocations: 147.5 kB / 0.6348 GB, free: 1.535 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.1461, allocations: 61.11 kB / 0.6349 GB, free: 1.477 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.69e-05/0.1462, allocations: 79.75 kB / 0.635 GB, free: 1.398 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.1464, allocations: 51.77 kB / 0.635 GB, free: 1.348 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/0.1464, allocations: 12 kB / 0.635 GB, free: 1.336 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.723e-05/0.1465, allocations: 27.98 kB / 0.6351 GB, free: 1.309 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.476e-05/0.1466, allocations: 51.77 kB / 0.6351 GB, free: 1.258 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.243e-05/0.1466, allocations: 75.56 kB / 0.6352 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.1469, allocations: 199.3 kB / 0.6354 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1469, allocations: 4 kB / 0.6354 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1469, allocations: 0 / 0.6354 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1469, allocations: 0 / 0.6354 GB, free: 0.9844 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.0006887/0.1476, allocations: 498.6 kB / 0.6359 GB, free: 460 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1476, allocations: 12.03 kB / 0.6359 GB, free: 448 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.185e-05/0.1477, allocations: 16.75 kB / 0.6359 GB, free: 432 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.148, allocations: 251.9 kB / 0.6361 GB, free: 140 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.1482, allocations: 119.4 kB / 0.6362 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.1482, allocations: 8.375 kB / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.1485, allocations: 161.6 kB / 0.6364 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1485, allocations: 0 / 0.6364 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.1486, allocations: 4 kB / 0.6364 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.1486, allocations: 11.98 kB / 0.6364 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.1487, allocations: 43.91 kB / 0.6365 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009359/0.1496, allocations: 464.2 kB / 0.6369 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.171e-05/0.1497, allocations: 34.52 kB / 0.6369 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/0.1498, allocations: 28.84 kB / 0.637 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1498, allocations: 4 kB / 0.637 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.1498, allocations: 38.56 kB / 0.637 GB, free: 15.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.1498, allocations: 0 / 0.637 GB, free: 15.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.000256/0.1501, allocations: 113.5 kB / 0.6371 GB, free: 15.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.1501, allocations: 55.34 kB / 0.6372 GB, free: 14.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.1503, allocations: 215.7 kB / 0.6374 GB, free: 14.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.1504, allocations: 25.7 kB / 0.6374 GB, free: 14.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.982e-05/0.1505, allocations: 124 kB / 0.6375 GB, free: 14.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.1505, allocations: 23.8 kB / 0.6375 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.1505, allocations: 37.64 kB / 0.6376 GB, free: 14.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1507, allocations: 326.8 kB / 0.6379 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-05/0.1507, allocations: 31.97 kB / 0.6379 GB, free: 14.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.779e-05/0.1508, allocations: 98.3 kB / 0.638 GB, free: 14.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.151, allocations: 138.1 kB / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.151, allocations: 4 kB / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002172/0.1512, allocations: 157.2 kB / 0.6383 GB, free: 13.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1512, allocations: 5.875 kB / 0.6383 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1513, allocations: 4 kB / 0.6383 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1513, allocations: 4 kB / 0.6383 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.727e-05/0.1514, allocations: 23.98 kB / 0.6383 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.1514, allocations: 11.88 kB / 0.6383 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.59e-05/0.1514, allocations: 11.84 kB / 0.6383 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.1515, allocations: 8.375 kB / 0.6384 GB, free: 13.61 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.0001099/0.1516, allocations: 145.8 kB / 0.6385 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.1516, allocations: 11.81 kB / 0.6385 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.1518, allocations: 118.9 kB / 0.6386 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1519, allocations: 3.984 kB / 0.6386 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1519, allocations: 7.922 kB / 0.6386 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1519, allocations: 0 / 0.6386 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.1521, allocations: 233.5 kB / 0.6388 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1521, allocations: 0 / 0.6388 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-05/0.1522, allocations: 19.98 kB / 0.6389 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1522, allocations: 0 / 0.6389 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1522, allocations: 4 kB / 0.6389 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1522, allocations: 0 / 0.6389 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1522, allocations: 3.938 kB / 0.6389 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.1524, allocations: 195.6 kB / 0.6391 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.1524, allocations: 89 kB / 0.6391 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.1525, allocations: 4 kB / 0.6392 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.1527, allocations: 15.98 kB / 0.6392 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.1527, allocations: 15.92 kB / 0.6392 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.1528, allocations: 11.98 kB / 0.6392 GB, free: 12.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.1529, allocations: 156.2 kB / 0.6393 GB, free: 12.49 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1529, allocations: 0 / 0.6393 GB, free: 12.49 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.1532, allocations: 31.84 kB / 0.6394 GB, free: 12.46 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.0002088/0.1534, allocations: 136.1 kB / 0.6395 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.1536, allocations: 67.84 kB / 0.6396 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1536, allocations: 0 / 0.6396 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.993e-05/0.1536, allocations: 28.67 kB / 0.6396 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.1539, allocations: 23.98 kB / 0.6396 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.1544, allocations: 283.1 kB / 0.6399 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.1548, allocations: 0.7275 MB / 0.6406 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.1549, allocations: 56.72 kB / 0.6407 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.155, allocations: 15.44 kB / 0.6407 GB, free: 11.07 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.155, allocations: 4 kB / 0.6407 GB, free: 11.07 MB / 494.1 MB Notification: Performance of Templates: time 0.004769/0.1597, allocations: 2.388 MB / 0.643 GB, free: 8.707 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)