Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001203/0.001203, allocations: 117 kB / 16.37 MB, free: 6.012 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.001197/0.001198, allocations: 188.8 kB / 17.3 MB, free: 5.613 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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002014/0.002014, allocations: 287.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8889/0.8889, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 98.28 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1584, allocations: 86.98 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002426/0.1608, allocations: 1.361 MB / 0.6829 GB, free: 6.066 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001376/0.161, allocations: 43.83 kB / 0.683 GB, free: 6.023 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.161, allocations: 0 / 0.683 GB, free: 6.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.1612, allocations: 7.922 kB / 0.683 GB, free: 6.016 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.907e-05/0.1613, allocations: 15.92 kB / 0.683 GB, free: 6 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.326e-06/0.1613, allocations: 0 / 0.683 GB, free: 6 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.099e-05/0.1614, allocations: 19.92 kB / 0.683 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.1614, allocations: 4 kB / 0.683 GB, free: 5.977 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/0.1614, allocations: 3.938 kB / 0.683 GB, free: 5.973 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.1615, allocations: 15.92 kB / 0.683 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.1615, allocations: 4 kB / 0.6831 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.875e-05/0.1616, allocations: 12 kB / 0.6831 GB, free: 5.941 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.1616, allocations: 11.98 kB / 0.6831 GB, free: 5.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.1617, allocations: 7.875 kB / 0.6831 GB, free: 5.922 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.252e-05/0.1618, allocations: 27.91 kB / 0.6831 GB, free: 5.895 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.1618, allocations: 0 / 0.6831 GB, free: 5.895 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1618, allocations: 0 / 0.6831 GB, free: 5.895 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1618, allocations: 0 / 0.6831 GB, free: 5.895 MB / 494.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.0002921/0.1621, allocations: 335.4 kB / 0.6834 GB, free: 5.516 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.1621, allocations: 8.031 kB / 0.6834 GB, free: 5.508 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.1621, allocations: 8.938 kB / 0.6834 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.1623, allocations: 180.3 kB / 0.6836 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.014e-06/0.1623, allocations: 384 / 0.6836 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-06/0.1623, allocations: 384 / 0.6836 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.104e-05/0.1624, allocations: 34.25 kB / 0.6837 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.1624, allocations: 192 / 0.6837 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.1624, allocations: 7.875 kB / 0.6837 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.1625, allocations: 0 / 0.6837 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.954e-05/0.1625, allocations: 11.88 kB / 0.6837 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001311/0.1626, allocations: 157.7 kB / 0.6838 GB, free: 5.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.124e-05/0.1627, allocations: 18.58 kB / 0.6838 GB, free: 4.996 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.528e-05/0.1627, allocations: 8.922 kB / 0.6838 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.1627, allocations: 0 / 0.6838 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.1627, allocations: 30.56 kB / 0.6839 GB, free: 4.945 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1627, allocations: 0 / 0.6839 GB, free: 4.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000119/0.1629, allocations: 53.56 kB / 0.6839 GB, free: 4.887 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.1629, allocations: 51.41 kB / 0.684 GB, free: 4.824 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.163, allocations: 117.8 kB / 0.6841 GB, free: 4.699 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.163, allocations: 25.7 kB / 0.6841 GB, free: 4.668 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.1631, allocations: 80.14 kB / 0.6842 GB, free: 4.586 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.1631, allocations: 3.906 kB / 0.6842 GB, free: 4.582 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.1631, allocations: 17.72 kB / 0.6842 GB, free: 4.559 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1632, allocations: 314.8 kB / 0.6845 GB, free: 4.242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-06/0.1632, allocations: 4.125 kB / 0.6845 GB, free: 4.238 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-06/0.1632, allocations: 4 kB / 0.6845 GB, free: 4.234 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.479e-05/0.1633, allocations: 12.86 kB / 0.6845 GB, free: 4.219 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1633, allocations: 0 / 0.6845 GB, free: 4.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.595e-05/0.1633, allocations: 41.62 kB / 0.6846 GB, free: 4.172 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1634, allocations: 4 kB / 0.6846 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1634, allocations: 3.938 kB / 0.6846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1634, allocations: 3.984 kB / 0.6846 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.149e-05/0.1634, allocations: 12.09 kB / 0.6846 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.1634, allocations: 320 / 0.6846 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.201e-05/0.1635, allocations: 0 / 0.6846 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.1635, allocations: 0 / 0.6846 GB, free: 4.148 MB / 494.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.172e-05/0.1635, allocations: 113.8 kB / 0.6847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.1636, allocations: 3.906 kB / 0.6847 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.124e-05/0.1636, allocations: 53.09 kB / 0.6848 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1636, allocations: 0 / 0.6848 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1637, allocations: 0 / 0.6848 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.1637, allocations: 4.031 kB / 0.6848 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.495e-05/0.1638, allocations: 153.7 kB / 0.6849 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1638, allocations: 3.938 kB / 0.6849 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.354e-05/0.1638, allocations: 4 kB / 0.6849 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1638, allocations: 0 / 0.6849 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.1638, allocations: 7.938 kB / 0.6849 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1638, allocations: 0 / 0.6849 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1638, allocations: 3.984 kB / 0.6849 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.397e-05/0.1639, allocations: 61.12 kB / 0.685 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.1639, allocations: 85.11 kB / 0.6851 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.164, allocations: 7.875 kB / 0.6851 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.257e-06/0.164, allocations: 0 / 0.6851 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.164, allocations: 3.938 kB / 0.6851 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.164, allocations: 0 / 0.6851 GB, free: 3.551 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.161e-05/0.1641, allocations: 91.27 kB / 0.6852 GB, free: 3.461 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1641, allocations: 0 / 0.6852 GB, free: 3.461 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001729/0.1642, allocations: 4 kB / 0.6852 GB, free: 3.457 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 (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.0001703/0.1644, allocations: 121.2 kB / 0.6853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.862e-05/0.1645, allocations: 15.98 kB / 0.6853 GB, free: 3.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1645, allocations: 0 / 0.6853 GB, free: 3.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.085e-06/0.1645, allocations: 0 / 0.6853 GB, free: 3.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.1646, allocations: 8.125 kB / 0.6853 GB, free: 3.312 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002177/0.1649, allocations: 109.5 kB / 0.6854 GB, free: 3.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.1651, allocations: 0.6806 MB / 0.6861 GB, free: 2.473 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.769e-05/0.1651, allocations: 4 kB / 0.6861 GB, free: 2.469 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/0.1652, allocations: 11.44 kB / 0.6861 GB, free: 2.457 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1652, allocations: 0 / 0.6861 GB, free: 2.457 MB / 494.1 MB Notification: Performance of Templates: time 0.00212/0.1673, allocations: 498.7 kB / 0.6866 GB, free: 1.973 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)