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.006001/0.006001, 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.001612/0.001613, allocations: 202.6 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002666/0.002666, allocations: 270.9 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.5074 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002743/0.002743, allocations: 99.34 kB / 0.6943 GB, free: 3.625 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4605, allocations: 89.13 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002694/0.4632, allocations: 1.369 MB / 0.7826 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001715/0.4634, allocations: 52.89 kB / 0.7827 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.4635, allocations: 0 / 0.7827 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.4637, allocations: 7.578 kB / 0.7827 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.4638, allocations: 21.97 kB / 0.7827 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.707e-06/0.4638, allocations: 0 / 0.7827 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.165e-05/0.4639, allocations: 14.16 kB / 0.7827 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.4639, allocations: 10.19 kB / 0.7828 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.738e-05/0.464, allocations: 5.703 kB / 0.7828 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.636e-05/0.464, allocations: 16.25 kB / 0.7828 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.4641, allocations: 0 / 0.7828 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.255e-05/0.4641, allocations: 12.27 kB / 0.7828 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.339e-05/0.4642, allocations: 8.125 kB / 0.7828 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.4642, allocations: 8.859 kB / 0.7828 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.4643, allocations: 34.05 kB / 0.7828 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4643, allocations: 0 / 0.7828 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4643, allocations: 0 / 0.7828 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.4643, allocations: 0.5156 kB / 0.7828 GB, free: 12.78 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.0003944/0.4647, allocations: 338.1 kB / 0.7832 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.4648, allocations: 11.23 kB / 0.7832 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/0.4648, allocations: 30.75 kB / 0.7832 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.4649, allocations: 16.42 kB / 0.7832 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.4651, allocations: 172.6 kB / 0.7834 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.33e-06/0.4651, allocations: 384 / 0.7834 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.4651, allocations: 384 / 0.7834 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.79e-05/0.4652, allocations: 35.53 kB / 0.7834 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4652, allocations: 3.938 kB / 0.7834 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.4652, allocations: 4 kB / 0.7834 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.4652, allocations: 2.547 kB / 0.7834 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.475e-05/0.4653, allocations: 9.938 kB / 0.7834 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.4655, allocations: 153.5 kB / 0.7836 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.137e-05/0.4656, allocations: 17.02 kB / 0.7836 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.4656, allocations: 8.016 kB / 0.7836 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.4656, allocations: 3.938 kB / 0.7836 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.4656, allocations: 42.12 kB / 0.7836 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4657, allocations: 0 / 0.7836 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001418/0.4658, allocations: 44.88 kB / 0.7837 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.4659, allocations: 52.34 kB / 0.7837 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.466, allocations: 115.4 kB / 0.7838 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.466, allocations: 25.7 kB / 0.7839 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.4661, allocations: 87.94 kB / 0.784 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.4661, allocations: 4.062 kB / 0.784 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.4661, allocations: 17 kB / 0.784 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4663, allocations: 312.2 kB / 0.7843 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.4663, allocations: 3.016 kB / 0.7843 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/0.4663, allocations: 5.984 kB / 0.7843 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.749e-05/0.4663, allocations: 13.47 kB / 0.7843 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.4663, allocations: 0 / 0.7843 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.196e-05/0.4664, allocations: 39.69 kB / 0.7843 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.4664, allocations: 12.36 kB / 0.7843 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4664, allocations: 4.969 kB / 0.7843 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4665, allocations: 0 / 0.7843 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.099e-05/0.4665, allocations: 6.781 kB / 0.7844 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4665, allocations: 4.062 kB / 0.7844 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.4665, allocations: 1.344 kB / 0.7844 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.4666, allocations: 0.7031 kB / 0.7844 GB, free: 11.11 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 8.658e-05/0.4667, allocations: 109 kB / 0.7845 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.4667, allocations: 7.375 kB / 0.7845 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.4668, allocations: 49.45 kB / 0.7845 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.4668, allocations: 1.156 kB / 0.7845 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.4668, allocations: 0 / 0.7845 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4668, allocations: 0.75 kB / 0.7845 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.4669, allocations: 155.5 kB / 0.7847 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.467, allocations: 0 / 0.7847 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.451e-05/0.467, allocations: 2.969 kB / 0.7847 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.467, allocations: 3.938 kB / 0.7847 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.467, allocations: 2.125 kB / 0.7847 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.467, allocations: 32 / 0.7847 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.467, allocations: 4.516 kB / 0.7847 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.984e-05/0.4671, allocations: 70.89 kB / 0.7848 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/0.4672, allocations: 79.75 kB / 0.7848 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.4672, allocations: 5.156 kB / 0.7848 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.01e-05/0.4672, allocations: 0.6562 kB / 0.7848 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.4672, allocations: 0 / 0.7848 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.4672, allocations: 1.812 kB / 0.7848 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.697e-05/0.4673, allocations: 99.67 kB / 0.7849 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4673, allocations: 0 / 0.7849 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001835/0.4675, allocations: 7.406 kB / 0.7849 GB, free: 10.48 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.0005076/0.468, allocations: 0.6171 MB / 0.7855 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.505e-05/0.4681, allocations: 10.7 kB / 0.7855 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4681, allocations: 0 / 0.7855 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.099e-05/0.4681, allocations: 3.438 kB / 0.7856 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.4683, allocations: 9.219 kB / 0.7856 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.4693, allocations: 1.099 MB / 0.7866 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.4697, allocations: 0.681 MB / 0.7873 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.137e-05/0.4697, allocations: 4.531 kB / 0.7873 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.4698, allocations: 13.28 kB / 0.7873 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.4698, allocations: 1.375 kB / 0.7873 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.4922, allocations: 1.417 MB / 0.7887 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.473, allocations: 10.19 kB / 0.7887 GB, free: 7.656 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)