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.004864/0.004865, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001159/0.00116, allocations: 190.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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002123/0.002123, allocations: 291 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.9384/0.9384, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 99.84 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1585, allocations: 86.98 MB / 0.7664 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002676/0.1612, allocations: 1.365 MB / 0.7677 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000162/0.1614, allocations: 39.81 kB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.1615, allocations: 0 / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.1616, allocations: 19.88 kB / 0.7678 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.1618, allocations: 7.922 kB / 0.7678 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.428e-06/0.1618, allocations: 4 kB / 0.7678 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.932e-05/0.1619, allocations: 19.86 kB / 0.7678 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.162, allocations: 11.98 kB / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.02e-05/0.162, allocations: 8 kB / 0.7678 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.162, allocations: 3.938 kB / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1621, allocations: 4 kB / 0.7678 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.359e-05/0.1621, allocations: 12 kB / 0.7678 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.474e-05/0.1622, allocations: 3.984 kB / 0.7678 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.1622, allocations: 15.86 kB / 0.7678 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.1623, allocations: 27.97 kB / 0.7679 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1623, allocations: 0 / 0.7679 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1623, allocations: 3.938 kB / 0.7679 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.1624, allocations: 4 kB / 0.7679 GB, free: 6.91 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.0003267/0.1627, allocations: 341.2 kB / 0.7682 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1627, allocations: 12.03 kB / 0.7682 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.1628, allocations: 4.844 kB / 0.7682 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.1629, allocations: 168.4 kB / 0.7684 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.163, allocations: 4.359 kB / 0.7684 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.163, allocations: 384 / 0.7684 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.106e-05/0.1631, allocations: 34.27 kB / 0.7684 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1631, allocations: 192 / 0.7684 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1631, allocations: 7.938 kB / 0.7684 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.1631, allocations: 4 kB / 0.7684 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/0.1632, allocations: 3.984 kB / 0.7684 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.1633, allocations: 153.7 kB / 0.7686 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.201e-05/0.1634, allocations: 22.52 kB / 0.7686 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.1634, allocations: 4.859 kB / 0.7686 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.1634, allocations: 0 / 0.7686 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.1634, allocations: 42.62 kB / 0.7686 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1634, allocations: 0 / 0.7686 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000132/0.1636, allocations: 41.48 kB / 0.7687 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.1636, allocations: 59.39 kB / 0.7687 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.1637, allocations: 113.8 kB / 0.7688 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.1637, allocations: 25.7 kB / 0.7689 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.1638, allocations: 84.14 kB / 0.769 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.1638, allocations: 0 / 0.769 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.1638, allocations: 21.78 kB / 0.769 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.1639, allocations: 314.8 kB / 0.7693 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.164, allocations: 4 kB / 0.7693 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.007e-05/0.164, allocations: 3.984 kB / 0.7693 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.164, allocations: 12.8 kB / 0.7693 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.164, allocations: 0 / 0.7693 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.546e-05/0.1641, allocations: 45.55 kB / 0.7693 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.1641, allocations: 8.094 kB / 0.7693 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1641, allocations: 3.938 kB / 0.7693 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1641, allocations: 0 / 0.7693 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.757e-05/0.1642, allocations: 7.984 kB / 0.7694 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1642, allocations: 0 / 0.7694 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.276e-05/0.1642, allocations: 0 / 0.7694 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.1642, allocations: 0 / 0.7694 GB, free: 5.168 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.33e-05/0.1643, allocations: 110.5 kB / 0.7695 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.1643, allocations: 0 / 0.7695 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.668e-05/0.1644, allocations: 53.16 kB / 0.7695 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1644, allocations: 0 / 0.7695 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1644, allocations: 0 / 0.7695 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1644, allocations: 0 / 0.7695 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.207e-05/0.1645, allocations: 157.6 kB / 0.7697 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1645, allocations: 4 kB / 0.7697 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-05/0.1645, allocations: 0 / 0.7697 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1645, allocations: 0 / 0.7697 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.1646, allocations: 3.938 kB / 0.7697 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1646, allocations: 7.984 kB / 0.7697 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1646, allocations: 32 / 0.7697 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.208e-05/0.1646, allocations: 65.05 kB / 0.7697 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.1647, allocations: 85.05 kB / 0.7698 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.1647, allocations: 3.938 kB / 0.7698 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.153e-05/0.1647, allocations: 3.984 kB / 0.7698 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.1647, allocations: 3.984 kB / 0.7698 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.1648, allocations: 0 / 0.7698 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.811e-05/0.1648, allocations: 99.31 kB / 0.7699 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1648, allocations: 0 / 0.7699 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001907/0.165, allocations: 4 kB / 0.7699 GB, free: 4.477 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.000183/0.1652, allocations: 123.1 kB / 0.77 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.852e-05/0.1653, allocations: 8 kB / 0.7701 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1653, allocations: 0 / 0.7701 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.719e-06/0.1653, allocations: 4 kB / 0.7701 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.1654, allocations: 4 kB / 0.7701 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.1657, allocations: 111.9 kB / 0.7702 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.1659, allocations: 0.6768 MB / 0.7708 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.075e-05/0.166, allocations: 11.92 kB / 0.7708 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.166, allocations: 7.438 kB / 0.7708 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.166, allocations: 4.125 kB / 0.7709 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of Templates: time 0.002378/0.1684, allocations: 0.4978 MB / 0.7713 GB, free: 2.98 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)