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: "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005464/0.005464, allocations: 102 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.001232/0.001232, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 286.5 kB / 290.8 MB, free: 1.762 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9243/0.9243, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 100.4 kB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1688, allocations: 86.98 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002808/0.1716, allocations: 1.365 MB / 0.7672 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001435/0.1718, allocations: 35.83 kB / 0.7673 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.1718, allocations: 0 / 0.7673 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.172, allocations: 19.92 kB / 0.7673 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.1722, allocations: 11.92 kB / 0.7673 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.316e-06/0.1722, allocations: 0 / 0.7673 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.12e-05/0.1722, allocations: 23.86 kB / 0.7673 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.1723, allocations: 288 / 0.7673 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.136e-05/0.1723, allocations: 12 kB / 0.7673 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/0.1724, allocations: 11.92 kB / 0.7673 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.1724, allocations: 0 / 0.7673 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.808e-05/0.1725, allocations: 12 kB / 0.7673 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.1725, allocations: 3.984 kB / 0.7673 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.1725, allocations: 11.94 kB / 0.7674 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.1727, allocations: 35.84 kB / 0.7674 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1727, allocations: 0 / 0.7674 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.386e-06/0.1727, allocations: 0 / 0.7674 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.1727, allocations: 3.938 kB / 0.7674 GB, free: 7.383 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.0003695/0.1731, allocations: 339.4 kB / 0.7677 GB, free: 7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1731, allocations: 8.031 kB / 0.7677 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.1731, allocations: 34.75 kB / 0.7678 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.1732, allocations: 8.844 kB / 0.7678 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.1734, allocations: 172.4 kB / 0.7679 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-06/0.1734, allocations: 384 / 0.7679 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.1734, allocations: 384 / 0.7679 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.1735, allocations: 38.25 kB / 0.768 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1735, allocations: 3.938 kB / 0.768 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.1735, allocations: 4 kB / 0.768 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.1735, allocations: 0 / 0.768 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.448e-05/0.1736, allocations: 4 kB / 0.768 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.1738, allocations: 157.6 kB / 0.7681 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.056e-05/0.1738, allocations: 14.58 kB / 0.7681 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.1738, allocations: 8.922 kB / 0.7682 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1739, allocations: 0 / 0.7682 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1739, allocations: 42.5 kB / 0.7682 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.1739, allocations: 0 / 0.7682 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001439/0.1741, allocations: 49.47 kB / 0.7682 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.1741, allocations: 51.41 kB / 0.7683 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.1742, allocations: 117.8 kB / 0.7684 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.1742, allocations: 25.7 kB / 0.7684 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.1743, allocations: 84.14 kB / 0.7685 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.1743, allocations: 0 / 0.7685 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.1744, allocations: 25.77 kB / 0.7685 GB, free: 6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.1745, allocations: 314.8 kB / 0.7688 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.1745, allocations: 0 / 0.7688 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.375e-06/0.1745, allocations: 4 kB / 0.7688 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.488e-05/0.1746, allocations: 8.859 kB / 0.7688 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1746, allocations: 0 / 0.7688 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.278e-05/0.1746, allocations: 49.53 kB / 0.7689 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1747, allocations: 12.03 kB / 0.7689 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1747, allocations: 0 / 0.7689 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1747, allocations: 0 / 0.7689 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.338e-05/0.1747, allocations: 4 kB / 0.7689 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.1748, allocations: 320 / 0.7689 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.233e-05/0.1748, allocations: 0 / 0.7689 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1748, allocations: 3.984 kB / 0.7689 GB, free: 5.594 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 7.87e-05/0.1749, allocations: 110.5 kB / 0.769 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.1749, allocations: 3.938 kB / 0.769 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.049e-05/0.175, allocations: 53.16 kB / 0.7691 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.175, allocations: 3.938 kB / 0.7691 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.175, allocations: 0 / 0.7691 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.175, allocations: 0 / 0.7691 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.1751, allocations: 157.7 kB / 0.7692 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1751, allocations: 0 / 0.7692 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/0.1751, allocations: 4 kB / 0.7692 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1752, allocations: 3.938 kB / 0.7692 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.1752, allocations: 0 / 0.7692 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1752, allocations: 4 kB / 0.7692 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1752, allocations: 3.984 kB / 0.7692 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.361e-05/0.1753, allocations: 69.06 kB / 0.7693 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.1753, allocations: 77.11 kB / 0.7694 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.1753, allocations: 7.938 kB / 0.7694 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.227e-06/0.1753, allocations: 0 / 0.7694 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.1754, allocations: 0 / 0.7694 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.1754, allocations: 0 / 0.7694 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.328e-05/0.1754, allocations: 95.3 kB / 0.7695 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.372e-06/0.1754, allocations: 7.938 kB / 0.7695 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001837/0.1756, allocations: 7.938 kB / 0.7695 GB, free: 4.895 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.0004323/0.1761, allocations: 0.6154 MB / 0.7701 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.738e-05/0.1761, allocations: 4 kB / 0.7701 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1761, allocations: 0 / 0.7701 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-05/0.1762, allocations: 11.92 kB / 0.7701 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.1763, allocations: 6.75 kB / 0.7701 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009198/0.1772, allocations: 1.112 MB / 0.7712 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1775, allocations: 0.6807 MB / 0.7719 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.878e-05/0.1776, allocations: 4 kB / 0.7719 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.1776, allocations: 11.44 kB / 0.7719 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.1776, allocations: 0 / 0.7719 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.1959, allocations: 1.411 MB / 0.7733 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.285/7.481, allocations: 7.938 kB / 0.7733 GB, free: 1.035 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)