Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.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.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule",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.005588/0.005588, allocations: 96.95 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.001283/0.001284, 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.421/1.421, 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.002416/0.002415, allocations: 278.9 kB / 290.8 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 1.067/1.067, allocations: 178.6 MB / 0.5074 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002789/0.002789, allocations: 94.91 kB / 0.6943 GB, free: 3.613 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5/0.5028, allocations: 89.13 MB / 0.7813 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002975/0.5059, allocations: 1.489 MB / 0.7828 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.5076, allocations: 1.111 MB / 0.7839 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.5077, allocations: 1.625 kB / 0.7839 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.5079, allocations: 17.59 kB / 0.7839 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.5081, allocations: 39.92 kB / 0.7839 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.5084, allocations: 67.06 kB / 0.784 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.5086, allocations: 147.6 kB / 0.7841 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.5088, allocations: 65.36 kB / 0.7842 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.509, allocations: 87 kB / 0.7843 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.5092, allocations: 51.92 kB / 0.7843 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.258e-05/0.5093, allocations: 15.31 kB / 0.7843 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.5094, allocations: 25.78 kB / 0.7844 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.5095, allocations: 53.45 kB / 0.7844 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.5096, allocations: 66.73 kB / 0.7845 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003896/0.51, allocations: 209.1 kB / 0.7847 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5101, allocations: 3.938 kB / 0.7847 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5101, allocations: 0 / 0.7847 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.5101, allocations: 1.312 kB / 0.7847 GB, free: 11.89 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009243/0.511, allocations: 0.4933 MB / 0.7852 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.5111, allocations: 11.12 kB / 0.7852 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.429e-05/0.5112, allocations: 42.86 kB / 0.7852 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.894e-05/0.5112, allocations: 18.28 kB / 0.7852 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.5116, allocations: 260.5 kB / 0.7855 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.5118, allocations: 116.7 kB / 0.7856 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.5119, allocations: 8.438 kB / 0.7856 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.5123, allocations: 161.5 kB / 0.7857 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.5123, allocations: 4 kB / 0.7857 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.5123, allocations: 1.469 kB / 0.7857 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.5124, allocations: 8.734 kB / 0.7858 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.5125, allocations: 44.3 kB / 0.7858 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.5138, allocations: 462.9 kB / 0.7862 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.424e-05/0.5139, allocations: 36.39 kB / 0.7863 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.514, allocations: 22.67 kB / 0.7863 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.514, allocations: 4.594 kB / 0.7863 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.5141, allocations: 36.5 kB / 0.7863 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.5141, allocations: 0 / 0.7863 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003394/0.5144, allocations: 106.7 kB / 0.7864 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.5145, allocations: 56.59 kB / 0.7865 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.5147, allocations: 210.8 kB / 0.7867 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.5148, allocations: 30.8 kB / 0.7867 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.016e-05/0.5148, allocations: 124.9 kB / 0.7868 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.5149, allocations: 29.28 kB / 0.7869 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.515, allocations: 35.89 kB / 0.7869 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5151, allocations: 327.9 kB / 0.7872 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.08e-05/0.5152, allocations: 31.98 kB / 0.7872 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.5153, allocations: 98.2 kB / 0.7873 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.5155, allocations: 141.4 kB / 0.7875 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5155, allocations: 1.438 kB / 0.7875 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002533/0.5158, allocations: 150.8 kB / 0.7876 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5158, allocations: 12.31 kB / 0.7876 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.5158, allocations: 2.469 kB / 0.7876 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.5158, allocations: 4.25 kB / 0.7876 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.5159, allocations: 30.72 kB / 0.7877 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.516, allocations: 8.438 kB / 0.7877 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/0.516, allocations: 8.172 kB / 0.7877 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.516, allocations: 6.703 kB / 0.7877 GB, free: 9.418 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001469/0.5162, allocations: 150.8 kB / 0.7878 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/0.5163, allocations: 15.41 kB / 0.7878 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.5165, allocations: 118.4 kB / 0.788 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.5165, allocations: 1.812 kB / 0.788 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5165, allocations: 8.906 kB / 0.788 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5165, allocations: 0.7031 kB / 0.788 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.5168, allocations: 233.8 kB / 0.7882 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.5169, allocations: 0 / 0.7882 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.5169, allocations: 17.31 kB / 0.7882 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5169, allocations: 1.562 kB / 0.7882 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.5169, allocations: 0.6562 kB / 0.7882 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5169, allocations: 1.562 kB / 0.7882 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/0.517, allocations: 8.594 kB / 0.7882 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.5172, allocations: 189 kB / 0.7884 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-05/0.5173, allocations: 93.92 kB / 0.7885 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.5173, allocations: 5.906 kB / 0.7885 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.5176, allocations: 16.55 kB / 0.7885 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.5177, allocations: 9.656 kB / 0.7885 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.5177, allocations: 18.66 kB / 0.7885 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001946/0.5179, allocations: 158.7 kB / 0.7887 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5179, allocations: 0 / 0.7887 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003415/0.5183, allocations: 28.72 kB / 0.7887 GB, free: 8.598 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 (8): * Single equations (assignments): 8 * 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.0007802/0.519, allocations: 0.748 MB / 0.7894 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.5192, allocations: 71.06 kB / 0.7895 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5193, allocations: 0.75 kB / 0.7895 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.43e-05/0.5193, allocations: 27.53 kB / 0.7895 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.5196, allocations: 30.05 kB / 0.7896 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.5222, allocations: 1.918 MB / 0.7914 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.5226, allocations: 0.7347 MB / 0.7922 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001869/0.5228, allocations: 50.62 kB / 0.7922 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.773e-05/0.5229, allocations: 49.2 kB / 0.7923 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/0.5229, allocations: 3.938 kB / 0.7923 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.5522, allocations: 4.238 MB / 0.7964 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.73, allocations: 6.469 kB / 0.7964 GB, free: 4.375 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)