Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.WeeklySchedule,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_10_Buildings_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.002298/0.002298, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002453/0.002453, allocations: 190 kB / 16.67 MB, free: 6.57 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.754/2.754, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 75.88 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2951, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002701/0.2978, allocations: 1.491 MB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.2995, allocations: 1.113 MB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.567e-05/0.2996, allocations: 0 / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.2997, allocations: 15.86 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.2999, allocations: 39.78 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.3001, allocations: 60.28 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.3003, allocations: 151.5 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.3005, allocations: 69.08 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.416e-05/0.3006, allocations: 75.77 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.3007, allocations: 55.75 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.3008, allocations: 19.88 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.328e-05/0.3008, allocations: 24 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.442e-05/0.3009, allocations: 55.81 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.12e-05/0.301, allocations: 71.58 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.3013, allocations: 199.5 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3013, allocations: 4 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3013, allocations: 0 / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.3013, allocations: 4 kB / 1.169 GB, free: 3.875 MB / 0.92 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.0006996/0.302, allocations: 498.4 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3021, allocations: 12.03 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.538e-05/0.3021, allocations: 38.75 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.529e-05/0.3022, allocations: 24.78 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.3025, allocations: 256 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.3027, allocations: 115.4 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3027, allocations: 12.38 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.3031, allocations: 157.5 kB / 1.171 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3031, allocations: 3.938 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.3031, allocations: 0 / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.3031, allocations: 12 kB / 1.171 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.898e-05/0.3032, allocations: 43.91 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.3043, allocations: 460.5 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.945e-05/0.3044, allocations: 34.56 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.3044, allocations: 24.84 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.3044, allocations: 4 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.3045, allocations: 38.56 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.3045, allocations: 0 / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0002652/0.3048, allocations: 109.7 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3048, allocations: 63.33 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.3051, allocations: 215.8 kB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.3051, allocations: 29.7 kB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.3052, allocations: 120.1 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.3052, allocations: 27.75 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.3053, allocations: 41.64 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3054, allocations: 326.8 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.192e-05/0.3055, allocations: 19.98 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.3056, allocations: 106.3 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.3058, allocations: 134.1 kB / 1.172 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.3058, allocations: 8 kB / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002536/0.3061, allocations: 157.3 kB / 1.172 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3061, allocations: 4 kB / 1.172 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3061, allocations: 7.938 kB / 1.172 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3061, allocations: 7.984 kB / 1.172 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.809e-05/0.3062, allocations: 23.94 kB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3062, allocations: 11.92 kB / 1.172 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.309e-05/0.3063, allocations: 7.938 kB / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3063, allocations: 4.375 kB / 1.172 GB, free: 460 kB / 0.92 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.0001362/0.3065, allocations: 149.8 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.3065, allocations: 19.86 kB / 1.173 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.3068, allocations: 115.5 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3068, allocations: 0 / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3068, allocations: 3.938 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3068, allocations: 0 / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.3071, allocations: 237.5 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3071, allocations: 0 / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-05/0.3072, allocations: 15.98 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3072, allocations: 4 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3072, allocations: 7.938 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3072, allocations: 0 / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3072, allocations: 7.875 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.3074, allocations: 187.4 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.3075, allocations: 89.02 kB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.3075, allocations: 0 / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.3078, allocations: 27.91 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.3078, allocations: 11.92 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.3078, allocations: 15.98 kB / 1.173 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001527/0.308, allocations: 152.2 kB / 1.173 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.308, allocations: 0 / 1.173 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002949/0.3083, allocations: 35.89 kB / 1.174 GB, free: 15.29 MB / 0.9356 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.000642/0.3089, allocations: 0.746 MB / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.3091, allocations: 72.52 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3091, allocations: 4.062 kB / 1.174 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.43e-05/0.3092, allocations: 23.98 kB / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.3095, allocations: 23.94 kB / 1.174 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.3115, allocations: 1.93 MB / 1.176 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.3119, allocations: 0.7352 MB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.3121, allocations: 52.78 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.3122, allocations: 43.42 kB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.3122, allocations: 0 / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.3394, allocations: 4.229 MB / 1.181 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.462/8.802, allocations: 4.484 kB / 1.181 GB, free: 7.359 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.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 Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)