Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule") translateModel(IBPSA.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 104.1 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.001816/0.001816, allocations: 193.2 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.403/1.403, 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.7251/0.7251, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 62.3 kB / 0.5577 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1451, allocations: 76.19 MB / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.002379/0.1476, allocations: 1.33 MB / 0.6334 GB, free: 3.082 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000133/0.1477, allocations: 31.83 kB / 0.6334 GB, free: 3.051 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.1478, allocations: 0 / 0.6334 GB, free: 3.051 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.1479, allocations: 11.94 kB / 0.6334 GB, free: 3.039 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.1481, allocations: 19.91 kB / 0.6334 GB, free: 3.02 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.546e-06/0.1481, allocations: 0 / 0.6334 GB, free: 3.02 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.634e-05/0.1481, allocations: 23.86 kB / 0.6335 GB, free: 2.996 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.1482, allocations: 0 / 0.6335 GB, free: 2.996 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.457e-05/0.1482, allocations: 4 kB / 0.6335 GB, free: 2.992 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.672e-05/0.1483, allocations: 7.938 kB / 0.6335 GB, free: 2.984 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.1483, allocations: 0 / 0.6335 GB, free: 2.984 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.467e-05/0.1483, allocations: 15.98 kB / 0.6335 GB, free: 2.969 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.1484, allocations: 3.984 kB / 0.6335 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.1484, allocations: 11.88 kB / 0.6335 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.82e-05/0.1485, allocations: 23.92 kB / 0.6335 GB, free: 2.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1485, allocations: 4 kB / 0.6335 GB, free: 2.926 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1485, allocations: 0 / 0.6335 GB, free: 2.926 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1485, allocations: 0 / 0.6335 GB, free: 2.926 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.0003386/0.1489, allocations: 339.4 kB / 0.6339 GB, free: 2.543 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1489, allocations: 12.03 kB / 0.6339 GB, free: 2.531 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.1489, allocations: 0.9375 kB / 0.6339 GB, free: 2.531 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.1491, allocations: 180.2 kB / 0.634 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-06/0.1491, allocations: 384 / 0.634 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.1491, allocations: 384 / 0.634 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.212e-05/0.1492, allocations: 34.27 kB / 0.6341 GB, free: 2.277 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.1493, allocations: 192 / 0.6341 GB, free: 2.277 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1493, allocations: 11.91 kB / 0.6341 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.1493, allocations: 0 / 0.6341 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008e-05/0.1493, allocations: 4 kB / 0.6341 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.1495, allocations: 153.7 kB / 0.6342 GB, free: 2.062 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.121e-05/0.1495, allocations: 18.52 kB / 0.6343 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.1495, allocations: 16.92 kB / 0.6343 GB, free: 2.016 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1496, allocations: 4 kB / 0.6343 GB, free: 2.012 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.1496, allocations: 30.56 kB / 0.6343 GB, free: 1.973 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1496, allocations: 0 / 0.6343 GB, free: 1.973 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001726/0.1498, allocations: 37.64 kB / 0.6343 GB, free: 1.93 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.1498, allocations: 59.33 kB / 0.6344 GB, free: 1.859 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.15, allocations: 117.8 kB / 0.6345 GB, free: 1.734 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.15, allocations: 25.7 kB / 0.6345 GB, free: 1.703 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.1501, allocations: 92.27 kB / 0.6346 GB, free: 1.609 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.1501, allocations: 0 / 0.6346 GB, free: 1.609 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.1501, allocations: 9.719 kB / 0.6346 GB, free: 1.594 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1503, allocations: 314.8 kB / 0.6349 GB, free: 1.277 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.1503, allocations: 3.984 kB / 0.6349 GB, free: 1.273 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-06/0.1503, allocations: 4 kB / 0.6349 GB, free: 1.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.959e-05/0.1504, allocations: 8.859 kB / 0.6349 GB, free: 1.258 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1504, allocations: 8.062 kB / 0.635 GB, free: 1.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.731e-05/0.1505, allocations: 33.64 kB / 0.635 GB, free: 1.211 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1505, allocations: 11.94 kB / 0.635 GB, free: 1.199 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1505, allocations: 3.938 kB / 0.635 GB, free: 1.195 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1505, allocations: 0 / 0.635 GB, free: 1.195 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.754e-05/0.1506, allocations: 3.984 kB / 0.635 GB, free: 1.191 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1506, allocations: 0 / 0.635 GB, free: 1.191 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.423e-05/0.1506, allocations: 4 kB / 0.635 GB, free: 1.188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.1506, allocations: 0 / 0.635 GB, free: 1.188 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.094e-05/0.1507, allocations: 113.8 kB / 0.6351 GB, free: 1.066 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.1507, allocations: 7.906 kB / 0.6351 GB, free: 1.059 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.641e-05/0.1508, allocations: 45.16 kB / 0.6352 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1508, allocations: 0 / 0.6352 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1508, allocations: 0 / 0.6352 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1508, allocations: 4 kB / 0.6352 GB, free: 1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.1509, allocations: 153.7 kB / 0.6353 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1509, allocations: 0 / 0.6353 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.401e-05/0.151, allocations: 3.938 kB / 0.6353 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.151, allocations: 0 / 0.6353 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.151, allocations: 7.969 kB / 0.6353 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.151, allocations: 4 kB / 0.6353 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.151, allocations: 0 / 0.6353 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.605e-05/0.1511, allocations: 61.12 kB / 0.6354 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.1511, allocations: 81.02 kB / 0.6355 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.1511, allocations: 3.938 kB / 0.6355 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.016e-05/0.1511, allocations: 0 / 0.6355 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.1512, allocations: 4.031 kB / 0.6355 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.1512, allocations: 4 kB / 0.6355 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.034e-05/0.1512, allocations: 91.27 kB / 0.6356 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1512, allocations: 0 / 0.6356 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001918/0.1514, allocations: 4 kB / 0.6356 GB, free: 0.5039 MB / 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.0001897/0.1516, allocations: 117.1 kB / 0.6357 GB, free: 392 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 6.549e-05/0.1517, allocations: 15.94 kB / 0.6357 GB, free: 376 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1517, allocations: 0 / 0.6357 GB, free: 376 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.078e-05/0.1517, allocations: 4 kB / 0.6357 GB, free: 372 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.1519, allocations: 3.938 kB / 0.6357 GB, free: 368 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.1521, allocations: 113.6 kB / 0.6358 GB, free: 228 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.1524, allocations: 0.6768 MB / 0.6365 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.57e-05/0.1525, allocations: 12.66 kB / 0.6365 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.631e-05/0.1525, allocations: 7.438 kB / 0.6365 GB, free: 15.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1525, allocations: 0 / 0.6365 GB, free: 15.5 MB / 494.1 MB Notification: Performance of Templates: time 0.002409/0.1549, allocations: 477.2 kB / 0.6369 GB, free: 15.04 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)