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.001549/0.00155, allocations: 117.9 kB / 17.09 MB, free: 5.98 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.001799/0.001799, allocations: 196.6 kB / 18.02 MB, free: 5.055 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.386/1.386, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7792/0.7792, allocations: 115.3 MB / 407.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001248, allocations: 71.58 kB / 0.5583 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1534, allocations: 76.18 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003645/0.1571, allocations: 1.346 MB / 0.634 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002139/0.1574, allocations: 35.83 kB / 0.6341 GB, free: 3.031 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.1574, allocations: 4 kB / 0.6341 GB, free: 3.027 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.1577, allocations: 19.91 kB / 0.6341 GB, free: 3.008 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.1578, allocations: 15.88 kB / 0.6341 GB, free: 2.992 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.93e-06/0.1579, allocations: 0 / 0.6341 GB, free: 2.992 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.545e-05/0.158, allocations: 19.92 kB / 0.6341 GB, free: 2.973 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.803e-05/0.158, allocations: 3.938 kB / 0.6341 GB, free: 2.969 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.574e-05/0.1581, allocations: 8 kB / 0.6341 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.1582, allocations: 15.91 kB / 0.6341 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.1582, allocations: 0 / 0.6341 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.971e-05/0.1583, allocations: 12 kB / 0.6342 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.1583, allocations: 4 kB / 0.6342 GB, free: 2.93 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.1584, allocations: 7.938 kB / 0.6342 GB, free: 2.922 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.1585, allocations: 35.89 kB / 0.6342 GB, free: 2.887 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1585, allocations: 3.938 kB / 0.6342 GB, free: 2.883 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1585, allocations: 0 / 0.6342 GB, free: 2.883 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1586, allocations: 0 / 0.6342 GB, free: 2.883 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.0004323/0.159, allocations: 343.4 kB / 0.6345 GB, free: 2.496 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1591, allocations: 8.031 kB / 0.6345 GB, free: 2.488 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.1591, allocations: 4.938 kB / 0.6345 GB, free: 2.484 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.1593, allocations: 176.3 kB / 0.6347 GB, free: 2.273 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1593, allocations: 384 / 0.6347 GB, free: 2.273 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-06/0.1594, allocations: 384 / 0.6347 GB, free: 2.273 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.1595, allocations: 34.25 kB / 0.6347 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1595, allocations: 4.172 kB / 0.6348 GB, free: 2.23 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1595, allocations: 3.938 kB / 0.6348 GB, free: 2.227 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.1595, allocations: 4 kB / 0.6348 GB, free: 2.223 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.798e-05/0.1596, allocations: 4 kB / 0.6348 GB, free: 2.219 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.1598, allocations: 157.6 kB / 0.6349 GB, free: 2.016 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.197e-05/0.1598, allocations: 14.58 kB / 0.6349 GB, free: 1.992 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.1599, allocations: 12.92 kB / 0.6349 GB, free: 1.977 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1599, allocations: 0 / 0.6349 GB, free: 1.977 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.1599, allocations: 34.56 kB / 0.635 GB, free: 1.934 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.16, allocations: 0 / 0.635 GB, free: 1.934 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001692/0.1601, allocations: 45.56 kB / 0.635 GB, free: 1.883 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.1602, allocations: 51.41 kB / 0.6351 GB, free: 1.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1603, allocations: 117.8 kB / 0.6352 GB, free: 1.695 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1604, allocations: 29.7 kB / 0.6352 GB, free: 1.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.1604, allocations: 84.14 kB / 0.6353 GB, free: 1.574 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.1604, allocations: 3.984 kB / 0.6353 GB, free: 1.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.1605, allocations: 17.84 kB / 0.6353 GB, free: 1.547 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.1607, allocations: 318.8 kB / 0.6356 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.1607, allocations: 0 / 0.6356 GB, free: 1.227 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.168e-05/0.1608, allocations: 4 kB / 0.6356 GB, free: 1.223 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.103e-05/0.1608, allocations: 8.859 kB / 0.6356 GB, free: 1.211 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1608, allocations: 3.938 kB / 0.6356 GB, free: 1.207 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.545e-05/0.1609, allocations: 45.62 kB / 0.6357 GB, free: 1.156 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1609, allocations: 4 kB / 0.6357 GB, free: 1.152 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.161, allocations: 12.03 kB / 0.6357 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.161, allocations: 3.938 kB / 0.6357 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.919e-05/0.1611, allocations: 0 / 0.6357 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1611, allocations: 4 kB / 0.6357 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.1611, allocations: 0 / 0.6357 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1611, allocations: 0 / 0.6357 GB, free: 1.133 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 0.0001032/0.1612, allocations: 105.8 kB / 0.6358 GB, free: 1.02 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.1612, allocations: 7.906 kB / 0.6358 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.1614, allocations: 53.16 kB / 0.6359 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1614, allocations: 3.938 kB / 0.6359 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1614, allocations: 0 / 0.6359 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1614, allocations: 0 / 0.6359 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.1616, allocations: 157.7 kB / 0.636 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1616, allocations: 0 / 0.636 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/0.1616, allocations: 4 kB / 0.636 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1616, allocations: 0 / 0.636 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1616, allocations: 3.938 kB / 0.636 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1616, allocations: 0 / 0.636 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1616, allocations: 0 / 0.636 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.1617, allocations: 65.16 kB / 0.6361 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.1618, allocations: 81.02 kB / 0.6362 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.1618, allocations: 7.938 kB / 0.6362 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.614e-05/0.1619, allocations: 0 / 0.6362 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.1619, allocations: 0 / 0.6362 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.1619, allocations: 0 / 0.6362 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.909e-05/0.162, allocations: 95.27 kB / 0.6363 GB, free: 464 kB / 478.1 MB Notification: Performance of sort global known variables: time 2.474e-06/0.162, allocations: 4.031 kB / 0.6363 GB, free: 460 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003/0.1623, allocations: 7.938 kB / 0.6363 GB, free: 452 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.0002497/0.1626, allocations: 110.4 kB / 0.6364 GB, free: 336 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 9.143e-05/0.1627, allocations: 7.984 kB / 0.6364 GB, free: 328 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1627, allocations: 0 / 0.6364 GB, free: 328 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.38e-05/0.1627, allocations: 12.06 kB / 0.6364 GB, free: 316 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.1629, allocations: 0 / 0.6364 GB, free: 316 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.1632, allocations: 135.3 kB / 0.6365 GB, free: 148 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1636, allocations: 0.6768 MB / 0.6372 GB, free: 15.44 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.1636, allocations: 11.44 kB / 0.6372 GB, free: 15.43 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1636, allocations: 0 / 0.6372 GB, free: 15.43 MB / 494.1 MB Notification: Performance of Templates: time 0.003046/0.1667, allocations: 0.7854 MB / 0.638 GB, free: 14.64 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)