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.007936/0.007936, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001887/0.001887, allocations: 196.4 kB / 16.67 MB, free: 5.977 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002176/0.002176, allocations: 283 kB / 290.8 MB, free: 1.793 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9649/0.9649, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 91.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1639, allocations: 86.98 MB / 0.7664 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002207/0.1661, allocations: 1.365 MB / 0.7677 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001449/0.1663, allocations: 31.89 kB / 0.7677 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.1663, allocations: 3.938 kB / 0.7677 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.1665, allocations: 19.91 kB / 0.7677 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.1666, allocations: 11.94 kB / 0.7678 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.056e-06/0.1666, allocations: 0 / 0.7678 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.25e-05/0.1667, allocations: 19.86 kB / 0.7678 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.1667, allocations: 4 kB / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.542e-05/0.1667, allocations: 8 kB / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/0.1668, allocations: 19.91 kB / 0.7678 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.1668, allocations: 0 / 0.7678 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.5e-05/0.1669, allocations: 15.98 kB / 0.7678 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.1669, allocations: 0 / 0.7678 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.1669, allocations: 15.88 kB / 0.7678 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.132e-05/0.167, allocations: 27.95 kB / 0.7679 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.167, allocations: 0 / 0.7679 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1671, allocations: 3.938 kB / 0.7679 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.1671, allocations: 0 / 0.7679 GB, free: 6.891 MB / 0.5606 GB 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.0002959/0.1674, allocations: 339.4 kB / 0.7682 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.1674, allocations: 16.03 kB / 0.7682 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.1674, allocations: 4.844 kB / 0.7682 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.1676, allocations: 168.4 kB / 0.7684 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.1676, allocations: 384 / 0.7684 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.1676, allocations: 4.375 kB / 0.7684 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.127e-05/0.1677, allocations: 34.19 kB / 0.7684 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1677, allocations: 192 / 0.7684 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1677, allocations: 3.938 kB / 0.7684 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.1677, allocations: 8 kB / 0.7684 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.768e-05/0.1678, allocations: 4 kB / 0.7684 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.1679, allocations: 153.7 kB / 0.7686 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.266e-05/0.1679, allocations: 18.61 kB / 0.7686 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.573e-05/0.168, allocations: 4.859 kB / 0.7686 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.168, allocations: 0 / 0.7686 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.168, allocations: 38.56 kB / 0.7686 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.168, allocations: 0 / 0.7686 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001204/0.1681, allocations: 53.53 kB / 0.7687 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.1682, allocations: 51.41 kB / 0.7687 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.723e-05/0.1683, allocations: 113.8 kB / 0.7688 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.1683, allocations: 25.7 kB / 0.7689 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.1683, allocations: 84.14 kB / 0.7689 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.1684, allocations: 4 kB / 0.769 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.1684, allocations: 17.64 kB / 0.769 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.884e-05/0.1685, allocations: 315 kB / 0.7693 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.1685, allocations: 8 kB / 0.7693 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-06/0.1685, allocations: 3.938 kB / 0.7693 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.107e-05/0.1685, allocations: 8.859 kB / 0.7693 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1685, allocations: 0 / 0.7693 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.55e-05/0.1686, allocations: 45.59 kB / 0.7693 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1686, allocations: 6.812 kB / 0.7693 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1686, allocations: 3.938 kB / 0.7693 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1686, allocations: 8.094 kB / 0.7693 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.942e-05/0.1687, allocations: 0 / 0.7693 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1687, allocations: 4 kB / 0.7694 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.217e-05/0.1687, allocations: 0 / 0.7694 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.1687, allocations: 0 / 0.7694 GB, free: 5.148 MB / 0.5606 GB 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 6.368e-05/0.1688, allocations: 110.5 kB / 0.7695 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.777e-06/0.1688, allocations: 3.938 kB / 0.7695 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.542e-05/0.1689, allocations: 49.16 kB / 0.7695 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.1689, allocations: 0 / 0.7695 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1689, allocations: 4.031 kB / 0.7695 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1689, allocations: 3.938 kB / 0.7695 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.939e-05/0.169, allocations: 161.7 kB / 0.7697 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.169, allocations: 0 / 0.7697 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-05/0.169, allocations: 0 / 0.7697 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.169, allocations: 0 / 0.7697 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.169, allocations: 3.938 kB / 0.7697 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1691, allocations: 4 kB / 0.7697 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1691, allocations: 0 / 0.7697 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.228e-05/0.1691, allocations: 72.97 kB / 0.7697 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.1692, allocations: 81.05 kB / 0.7698 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.1692, allocations: 3.938 kB / 0.7698 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-06/0.1692, allocations: 0 / 0.7698 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-06/0.1692, allocations: 0 / 0.7698 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.1692, allocations: 4 kB / 0.7698 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.928e-05/0.1693, allocations: 95.27 kB / 0.7699 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1693, allocations: 0 / 0.7699 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001859/0.1695, allocations: 4 kB / 0.7699 GB, free: 4.457 MB / 0.5606 GB 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.0001642/0.1696, allocations: 120.2 kB / 0.77 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.659e-05/0.1697, allocations: 7.984 kB / 0.77 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1697, allocations: 0 / 0.77 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.047e-05/0.1697, allocations: 12 kB / 0.7701 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.1699, allocations: 6.062 kB / 0.7701 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.1701, allocations: 109.6 kB / 0.7702 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1704, allocations: 0.6768 MB / 0.7708 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.301e-05/0.1704, allocations: 4 kB / 0.7708 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.1705, allocations: 11.44 kB / 0.7708 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1705, allocations: 0 / 0.7708 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of Templates: time 0.002244/0.1727, allocations: 0.494 MB / 0.7713 GB, free: 2.969 MB / 0.5606 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)