Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_latest_Buildings_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.004117/0.004117, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001235/0.001235, allocations: 192.8 kB / 16.67 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.708/2.708, allocations: 482.4 MB / 0.7548 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 64.14 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.281, allocations: 162.2 MB / 1.241 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002378/0.2835, allocations: 1.377 MB / 1.243 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001371/0.2836, allocations: 36.42 kB / 1.243 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.2836, allocations: 3.938 kB / 1.243 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.2838, allocations: 15.91 kB / 1.243 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.443e-05/0.2839, allocations: 11.94 kB / 1.243 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.276e-06/0.2839, allocations: 0 / 1.243 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.697e-05/0.284, allocations: 19.92 kB / 1.243 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.284, allocations: 7.938 kB / 1.243 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.453e-05/0.2841, allocations: 4 kB / 1.243 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.921e-05/0.2841, allocations: 15.91 kB / 1.243 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.2841, allocations: 4 kB / 1.243 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.341e-05/0.2842, allocations: 12 kB / 1.243 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.459e-05/0.2842, allocations: 4 kB / 1.243 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.2842, allocations: 3.938 kB / 1.243 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.2844, allocations: 40.11 kB / 1.243 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2844, allocations: 0 / 1.243 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2844, allocations: 0 / 1.243 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2844, allocations: 0 / 1.243 GB, free: 7.707 MB / 0.9669 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.000345/0.2847, allocations: 335.3 kB / 1.243 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.2848, allocations: 8.031 kB / 1.243 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.2848, allocations: 34.75 kB / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.2848, allocations: 8.938 kB / 1.243 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.285, allocations: 176.3 kB / 1.243 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-06/0.285, allocations: 4.359 kB / 1.243 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-06/0.285, allocations: 384 / 1.243 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.699e-05/0.2851, allocations: 38.19 kB / 1.244 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2851, allocations: 3.938 kB / 1.244 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-06/0.2852, allocations: 0 / 1.244 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.2852, allocations: 0 / 1.244 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.109e-05/0.2852, allocations: 12 kB / 1.244 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.2854, allocations: 153.7 kB / 1.244 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.789e-05/0.2854, allocations: 22.52 kB / 1.244 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.2854, allocations: 4.859 kB / 1.244 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.2855, allocations: 3.938 kB / 1.244 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.2855, allocations: 30.56 kB / 1.244 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2855, allocations: 4 kB / 1.244 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001166/0.2856, allocations: 45.69 kB / 1.244 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.2857, allocations: 51.41 kB / 1.244 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.2858, allocations: 121.8 kB / 1.244 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.2858, allocations: 25.7 kB / 1.244 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.2859, allocations: 84.14 kB / 1.244 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.2859, allocations: 7.938 kB / 1.244 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.2859, allocations: 13.72 kB / 1.244 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2861, allocations: 319 kB / 1.244 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.2861, allocations: 11.94 kB / 1.244 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-06/0.2861, allocations: 3.938 kB / 1.244 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.369e-05/0.2861, allocations: 8.859 kB / 1.244 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2861, allocations: 0 / 1.244 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.273e-05/0.2862, allocations: 41.69 kB / 1.244 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2862, allocations: 7.938 kB / 1.244 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.2862, allocations: 0 / 1.244 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.2862, allocations: 4.094 kB / 1.244 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.985e-05/0.2863, allocations: 4 kB / 1.244 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.2863, allocations: 0 / 1.244 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.212e-05/0.2863, allocations: 0 / 1.244 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.2863, allocations: 0 / 1.244 GB, free: 5.914 MB / 0.9669 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.816e-05/0.2864, allocations: 113.8 kB / 1.245 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.887e-05/0.2864, allocations: 7.891 kB / 1.245 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.545e-05/0.2865, allocations: 45.22 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.2865, allocations: 32 / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2865, allocations: 4 kB / 1.245 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.2865, allocations: 0 / 1.245 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.2867, allocations: 157.7 kB / 1.245 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2867, allocations: 0 / 1.245 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.2867, allocations: 4 kB / 1.245 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2867, allocations: 3.938 kB / 1.245 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.2867, allocations: 4 kB / 1.245 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2867, allocations: 0 / 1.245 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2867, allocations: 3.938 kB / 1.245 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.187e-05/0.2868, allocations: 69.06 kB / 1.245 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.2869, allocations: 81.11 kB / 1.245 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.2869, allocations: 3.938 kB / 1.245 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-06/0.2869, allocations: 0 / 1.245 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-06/0.2869, allocations: 0 / 1.245 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.2869, allocations: 0 / 1.245 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.964e-05/0.287, allocations: 95.27 kB / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.287, allocations: 0 / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001861/0.2872, allocations: 11.98 kB / 1.245 GB, free: 5.215 MB / 0.9669 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.0004626/0.2876, allocations: 0.6249 MB / 1.246 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.727e-05/0.2877, allocations: 8.031 kB / 1.246 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2877, allocations: 0 / 1.246 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.218e-05/0.2877, allocations: 7.984 kB / 1.246 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.2879, allocations: 4 kB / 1.246 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009746/0.2888, allocations: 1.106 MB / 1.247 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.2892, allocations: 0.6768 MB / 1.247 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.471e-05/0.2892, allocations: 4 kB / 1.247 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.2892, allocations: 11.44 kB / 1.247 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.2893, allocations: 7.969 kB / 1.247 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.3099, allocations: 1.392 MB / 1.249 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.705/8.015, allocations: 11.25 kB / 1.249 GB, free: 1.344 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)