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.0007283/0.0007283, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008204/0.0008204, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001648/0.001648, allocations: 274 kB / 291.3 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9429/0.9429, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004048, allocations: 11.5 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1626, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001453/0.1641, allocations: 1.073 MB / 0.6855 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001316/0.1643, allocations: 37.33 kB / 0.6856 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.1643, allocations: 0 / 0.6856 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.1645, allocations: 11.92 kB / 0.6856 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.1646, allocations: 11.92 kB / 0.6856 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.417e-06/0.1646, allocations: 0.5 kB / 0.6856 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.729e-05/0.1647, allocations: 16.59 kB / 0.6856 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.191e-05/0.1647, allocations: 0.5312 kB / 0.6856 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.032e-05/0.1648, allocations: 10.52 kB / 0.6856 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.963e-05/0.1648, allocations: 11.92 kB / 0.6856 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.1648, allocations: 0 / 0.6856 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.909e-05/0.1649, allocations: 12 kB / 0.6856 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.837e-05/0.1649, allocations: 4 kB / 0.6856 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.159e-05/0.1649, allocations: 29.64 kB / 0.6857 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.48e-05/0.165, allocations: 19.97 kB / 0.6857 GB, free: 14.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.165, allocations: 1.219 kB / 0.6857 GB, free: 14.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1651, allocations: 0 / 0.6857 GB, free: 14.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1651, allocations: 0 / 0.6857 GB, free: 14.18 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.0003094/0.1654, allocations: 337.7 kB / 0.686 GB, free: 13.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1654, allocations: 8.031 kB / 0.686 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.1655, allocations: 4 kB / 0.686 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.1656, allocations: 183 kB / 0.6862 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.1657, allocations: 0 / 0.6862 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.1657, allocations: 0.5312 kB / 0.6862 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.654e-05/0.1658, allocations: 34.34 kB / 0.6862 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1658, allocations: 0 / 0.6862 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.1658, allocations: 3.625 kB / 0.6862 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.1658, allocations: 0 / 0.6862 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.287e-05/0.1658, allocations: 7.938 kB / 0.6862 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.166, allocations: 165.7 kB / 0.6864 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.383e-05/0.166, allocations: 14.58 kB / 0.6864 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.1661, allocations: 8.922 kB / 0.6864 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1661, allocations: 0.6875 kB / 0.6864 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.1661, allocations: 35.2 kB / 0.6865 GB, free: 13.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.084e-06/0.1661, allocations: 1.25 kB / 0.6865 GB, free: 13.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001349/0.1663, allocations: 45.55 kB / 0.6865 GB, free: 13.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.1663, allocations: 52.03 kB / 0.6865 GB, free: 13.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.1664, allocations: 113.8 kB / 0.6867 GB, free: 13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.1664, allocations: 26.42 kB / 0.6867 GB, free: 12.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.1665, allocations: 84.77 kB / 0.6868 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.1665, allocations: 4 kB / 0.6868 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.1665, allocations: 5.906 kB / 0.6868 GB, free: 12.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1666, allocations: 318.8 kB / 0.6871 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.1666, allocations: 4 kB / 0.6871 GB, free: 12.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.299e-06/0.1666, allocations: 0 / 0.6871 GB, free: 12.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.718e-05/0.1667, allocations: 12.19 kB / 0.6871 GB, free: 12.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1667, allocations: 0 / 0.6871 GB, free: 12.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.431e-05/0.1667, allocations: 45.53 kB / 0.6871 GB, free: 12.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1668, allocations: 7.938 kB / 0.6871 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1668, allocations: 0 / 0.6871 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1668, allocations: 0 / 0.6871 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.954e-05/0.1668, allocations: 0 / 0.6871 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.1669, allocations: 4 kB / 0.6871 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.1669, allocations: 0 / 0.6871 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.1669, allocations: 0 / 0.6871 GB, free: 12.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.973e-05/0.167, allocations: 114.5 kB / 0.6873 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.167, allocations: 4 kB / 0.6873 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.54e-05/0.1671, allocations: 49.16 kB / 0.6873 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1671, allocations: 0 / 0.6873 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1671, allocations: 0 / 0.6873 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1671, allocations: 3.938 kB / 0.6873 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.679e-05/0.1672, allocations: 161.6 kB / 0.6875 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1672, allocations: 0 / 0.6875 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.257e-05/0.1672, allocations: 8.031 kB / 0.6875 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1672, allocations: 0 / 0.6875 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.1672, allocations: 0 / 0.6875 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1672, allocations: 0 / 0.6875 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1672, allocations: 0 / 0.6875 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.491e-05/0.1673, allocations: 72.97 kB / 0.6875 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.1674, allocations: 77.11 kB / 0.6876 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.1674, allocations: 4 kB / 0.6876 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.023e-05/0.1674, allocations: 8.031 kB / 0.6876 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.1674, allocations: 0 / 0.6876 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.1674, allocations: 0 / 0.6876 GB, free: 11.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.436e-05/0.1675, allocations: 91.27 kB / 0.6877 GB, free: 11.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1675, allocations: 0 / 0.6877 GB, free: 11.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001782/0.1677, allocations: 4 kB / 0.6877 GB, free: 11.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000194/0.1679, allocations: 128 kB / 0.6878 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.818e-05/0.1679, allocations: 8 kB / 0.6878 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.168, allocations: 0 / 0.6878 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.039e-05/0.168, allocations: 4 kB / 0.6879 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.1681, allocations: 11.59 kB / 0.6879 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.1683, allocations: 120.8 kB / 0.688 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.1685, allocations: 0.677 MB / 0.6886 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.971e-05/0.1686, allocations: 4 kB / 0.6886 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.1686, allocations: 7.438 kB / 0.6886 GB, free: 10.79 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1686, allocations: 0 / 0.6886 GB, free: 10.79 MB / 494.1 MB Notification: Performance of Templates: time 0.002248/0.1709, allocations: 493.3 kB / 0.6891 GB, free: 10.3 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)