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.004879/0.004879, allocations: 97.62 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.001296/0.001295, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002437/0.002437, allocations: 286.5 kB / 290.8 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.024/1.024, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002864/0.002864, allocations: 104.8 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1879, allocations: 86.97 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002937/0.1909, allocations: 1.367 MB / 0.7672 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001916/0.1911, allocations: 43.81 kB / 0.7673 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.1911, allocations: 4 kB / 0.7673 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.1913, allocations: 3.938 kB / 0.7673 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.1915, allocations: 19.91 kB / 0.7673 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.669e-06/0.1915, allocations: 0 / 0.7673 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.832e-05/0.1916, allocations: 27.86 kB / 0.7673 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.1916, allocations: 0 / 0.7673 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.732e-05/0.1917, allocations: 8 kB / 0.7673 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.135e-05/0.1917, allocations: 7.938 kB / 0.7673 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.1917, allocations: 0 / 0.7673 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.375e-05/0.1918, allocations: 19.98 kB / 0.7674 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.1918, allocations: 0 / 0.7674 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.1919, allocations: 19.86 kB / 0.7674 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.192, allocations: 28.19 kB / 0.7674 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.192, allocations: 0 / 0.7674 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.192, allocations: 3.938 kB / 0.7674 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.192, allocations: 0 / 0.7674 GB, free: 7.363 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.0004074/0.1924, allocations: 335.3 kB / 0.7677 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1925, allocations: 8.031 kB / 0.7677 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.048e-05/0.1925, allocations: 30.75 kB / 0.7678 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.1926, allocations: 12.89 kB / 0.7678 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1928, allocations: 180.3 kB / 0.7679 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.1928, allocations: 384 / 0.7679 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.1928, allocations: 384 / 0.7679 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.1929, allocations: 34.27 kB / 0.768 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.193, allocations: 7.922 kB / 0.768 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.193, allocations: 0 / 0.768 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.193, allocations: 0 / 0.768 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.499e-05/0.193, allocations: 4 kB / 0.768 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/0.1932, allocations: 157.7 kB / 0.7681 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.643e-05/0.1933, allocations: 18.52 kB / 0.7682 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.1933, allocations: 12.86 kB / 0.7682 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1934, allocations: 0 / 0.7682 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.1934, allocations: 34.56 kB / 0.7682 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.1934, allocations: 0 / 0.7682 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001656/0.1936, allocations: 49.58 kB / 0.7682 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.1936, allocations: 51.41 kB / 0.7683 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1938, allocations: 121.8 kB / 0.7684 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1938, allocations: 25.7 kB / 0.7684 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.1939, allocations: 84.14 kB / 0.7685 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.1939, allocations: 3.938 kB / 0.7685 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.1939, allocations: 13.72 kB / 0.7685 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1941, allocations: 318.8 kB / 0.7688 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.1941, allocations: 4.125 kB / 0.7688 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.078e-05/0.1941, allocations: 4 kB / 0.7688 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.124e-05/0.1942, allocations: 8.859 kB / 0.7689 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1942, allocations: 0 / 0.7689 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.81e-05/0.1943, allocations: 41.66 kB / 0.7689 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.1943, allocations: 11.92 kB / 0.7689 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1943, allocations: 3.938 kB / 0.7689 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.1943, allocations: 0 / 0.7689 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/0.1944, allocations: 4.094 kB / 0.7689 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1944, allocations: 4 kB / 0.7689 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.1944, allocations: 0 / 0.7689 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1944, allocations: 0 / 0.7689 GB, free: 5.574 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 9.366e-05/0.1945, allocations: 110.5 kB / 0.769 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.1946, allocations: 3.938 kB / 0.769 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.1947, allocations: 45.22 kB / 0.7691 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.1947, allocations: 0 / 0.7691 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1947, allocations: 0 / 0.7691 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1947, allocations: 4.031 kB / 0.7691 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.1949, allocations: 153.7 kB / 0.7692 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1949, allocations: 0 / 0.7692 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.12e-05/0.1949, allocations: 7.984 kB / 0.7692 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.1949, allocations: 3.938 kB / 0.7692 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1949, allocations: 7.938 kB / 0.7692 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1949, allocations: 0 / 0.7692 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.195, allocations: 0 / 0.7692 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.246e-05/0.1951, allocations: 65.09 kB / 0.7693 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/0.1951, allocations: 81.09 kB / 0.7694 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.1951, allocations: 7.938 kB / 0.7694 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-06/0.1952, allocations: 0 / 0.7694 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.1952, allocations: 0 / 0.7694 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.1952, allocations: 3.938 kB / 0.7694 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.092e-05/0.1953, allocations: 95.27 kB / 0.7695 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.725e-06/0.1953, allocations: 0 / 0.7695 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002231/0.1955, allocations: 7.938 kB / 0.7695 GB, free: 4.887 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.000578/0.1961, allocations: 0.6294 MB / 0.7701 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.933e-05/0.1962, allocations: 8.031 kB / 0.7701 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1962, allocations: 0 / 0.7701 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/0.1962, allocations: 4 kB / 0.7701 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.1964, allocations: 4 kB / 0.7701 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.1976, allocations: 1.118 MB / 0.7712 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.1979, allocations: 0.6768 MB / 0.7719 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000132/0.1981, allocations: 11.92 kB / 0.7719 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.1981, allocations: 7.438 kB / 0.7719 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.1981, allocations: 4.031 kB / 0.7719 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.2217, allocations: 1.4 MB / 0.7733 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.92/8.142, allocations: 10.06 kB / 0.7733 GB, free: 1.023 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)