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.006413/0.006413, allocations: 104.7 kB / 15.74 MB, free: 6.02 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.001215/0.001215, allocations: 192 kB / 16.67 MB, free: 5.938 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.448/2.448, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.84 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.829/0.8304, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002991/0.8335, allocations: 1.491 MB / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.835, allocations: 1.113 MB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.575e-05/0.8351, allocations: 4 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.8353, allocations: 19.86 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.8355, allocations: 39.78 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.8358, allocations: 53.42 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.836, allocations: 155.5 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.8361, allocations: 57.08 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.8363, allocations: 87.77 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.8364, allocations: 51.7 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.8365, allocations: 12 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.979e-05/0.8365, allocations: 24 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.362e-05/0.8366, allocations: 43.88 kB / 1.169 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.374e-05/0.8367, allocations: 83.45 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.837, allocations: 199 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.837, allocations: 0 / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.623e-06/0.837, allocations: 0 / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.8371, allocations: 4 kB / 1.169 GB, free: 364 kB / 0.8887 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.0007456/0.8378, allocations: 0.4907 MB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.8379, allocations: 12.92 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.154e-05/0.8379, allocations: 38.73 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.838, allocations: 24.8 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.8383, allocations: 253.5 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.8385, allocations: 123.3 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.8385, allocations: 4.375 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.8388, allocations: 173.4 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.8389, allocations: 0 / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.8389, allocations: 0 / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.8389, allocations: 11.98 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.579e-05/0.839, allocations: 47.86 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.8401, allocations: 460.5 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.698e-05/0.8402, allocations: 30.52 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.8403, allocations: 24.84 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.8403, allocations: 8.141 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.8403, allocations: 34.56 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.8403, allocations: 4 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.000268/0.8406, allocations: 101.6 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.8407, allocations: 63.28 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.8409, allocations: 215.8 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.8409, allocations: 29.7 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.833e-05/0.841, allocations: 124.1 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.8411, allocations: 27.75 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.8411, allocations: 29.7 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.8413, allocations: 334.8 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.158e-05/0.8413, allocations: 23.97 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.8415, allocations: 90.3 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.8416, allocations: 146.1 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8416, allocations: 0 / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002619/0.8419, allocations: 161.5 kB / 1.172 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.8419, allocations: 4 kB / 1.172 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.8419, allocations: 4 kB / 1.172 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.842, allocations: 7.938 kB / 1.172 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.8421, allocations: 27.98 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.8421, allocations: 7.875 kB / 1.172 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.499e-05/0.8422, allocations: 4 kB / 1.172 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.8422, allocations: 8 kB / 1.172 GB, free: 12.93 MB / 0.9044 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.0001445/0.8423, allocations: 149.9 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.8424, allocations: 19.86 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.8426, allocations: 115.2 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.8426, allocations: 4 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.8427, allocations: 7.922 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.8427, allocations: 0 / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.8429, allocations: 225.5 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.8429, allocations: 4 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.843, allocations: 19.98 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.843, allocations: 0 / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.843, allocations: 4 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.843, allocations: 4.078 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.843, allocations: 7.922 kB / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.8432, allocations: 187.4 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/0.8433, allocations: 93 kB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.8433, allocations: 4 kB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.8436, allocations: 15.98 kB / 1.173 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.8436, allocations: 15.92 kB / 1.173 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.8437, allocations: 7.984 kB / 1.173 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001448/0.8438, allocations: 160.2 kB / 1.173 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8438, allocations: 0 / 1.173 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003063/0.8441, allocations: 31.95 kB / 1.174 GB, free: 11.77 MB / 0.9044 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.0007028/0.8448, allocations: 0.7607 MB / 1.174 GB, free: 11 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.845, allocations: 72.53 kB / 1.174 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.845, allocations: 0 / 1.174 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.302e-05/0.8451, allocations: 28.05 kB / 1.174 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.8454, allocations: 23.92 kB / 1.174 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.8475, allocations: 1.924 MB / 1.176 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.8479, allocations: 0.7391 MB / 1.177 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001302/0.848, allocations: 44.91 kB / 1.177 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.64e-05/0.8481, allocations: 55.41 kB / 1.177 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of SimCode: time 3.61e-07/0.8481, allocations: 0 / 1.177 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.8716, allocations: 4.233 MB / 1.181 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.775, allocations: 4 kB / 1.181 GB, free: 3.824 MB / 0.9044 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)