Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.22/2.22, allocations: 248.7 MB / 256.2 MB, free: 7.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 174 kB / 315.4 MB, free: 3.969 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.234/2.234, allocations: 205.3 MB / 0.5662 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001568/0.001568, allocations: 93.89 kB / 0.6704 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.704e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2174, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.419/7.636, allocations: 2.219 GB / 3.103 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/7.636, allocations: 82.64 kB / 3.103 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.931/9.567, allocations: 389.7 MB / 3.484 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.304e-06/9.567, allocations: 0 / 3.484 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001712/9.567, allocations: 39.94 kB / 3.484 GB, free: 107.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005061/9.572, allocations: 1.598 MB / 3.485 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/9.572, allocations: 12.03 kB / 3.485 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004399/9.577, allocations: 394.1 kB / 3.486 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004401/9.581, allocations: 1.176 MB / 3.487 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.284e-05/9.581, allocations: 40 kB / 3.487 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002843/9.582, allocations: 76 kB / 3.487 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003724/9.585, allocations: 1.356 MB / 3.488 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003364/9.589, allocations: 1.205 MB / 3.49 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/9.589, allocations: 0 / 3.49 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002146/9.589, allocations: 4 kB / 3.49 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.233e-05/9.589, allocations: 32 kB / 3.49 GB, free: 101.8 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/9.6, allocations: 4.707 MB / 3.494 GB, free: 96.87 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002726/9.603, allocations: 1.175 MB / 3.495 GB, free: 95.65 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009262/9.604, allocations: 401.2 kB / 3.496 GB, free: 95.25 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009844/9.605, allocations: 437 kB / 3.496 GB, free: 94.75 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001336/9.606, allocations: 0.5777 MB / 3.497 GB, free: 94.15 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=98): time 3.917e-06/9.606, allocations: 0 / 3.497 GB, free: 94.15 MB / 0.8698 GB Notification: Performance of matching and sorting (n=98): time 0.00464/9.611, allocations: 1.041 MB / 3.498 GB, free: 93.11 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/9.611, allocations: 244.1 kB / 3.498 GB, free: 92.81 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/9.612, allocations: 0.6253 MB / 3.499 GB, free: 92.18 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000323/9.613, allocations: 29.7 kB / 3.499 GB, free: 92.14 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005866/9.613, allocations: 0.5736 MB / 3.499 GB, free: 91.56 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004067/9.614, allocations: 315.3 kB / 3.499 GB, free: 91.25 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/9.614, allocations: 0 / 3.499 GB, free: 91.25 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/9.614, allocations: 345.9 kB / 3.5 GB, free: 90.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007789/9.615, allocations: 306.5 kB / 3.5 GB, free: 90.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008675/9.616, allocations: 0.4955 MB / 3.501 GB, free: 90.04 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/9.617, allocations: 478 kB / 3.501 GB, free: 89.57 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/9.617, allocations: 0 / 3.501 GB, free: 89.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.004044/9.622, allocations: 1.086 MB / 3.502 GB, free: 88.47 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/9.622, allocations: 8 kB / 3.502 GB, free: 88.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/9.622, allocations: 4 kB / 3.502 GB, free: 88.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009997/9.623, allocations: 84.81 kB / 3.502 GB, free: 88.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/9.625, allocations: 227.7 kB / 3.502 GB, free: 88.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002451/9.627, allocations: 1.478 MB / 3.504 GB, free: 86.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/9.629, allocations: 107.2 kB / 3.504 GB, free: 86.45 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/9.629, allocations: 39.97 kB / 3.504 GB, free: 86.41 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003706/9.63, allocations: 124.8 kB / 3.504 GB, free: 86.28 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00403/9.634, allocations: 1.023 MB / 3.505 GB, free: 85.25 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/9.634, allocations: 106.7 kB / 3.505 GB, free: 85.14 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004955/9.639, allocations: 1.324 MB / 3.506 GB, free: 83.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/9.639, allocations: 12 kB / 3.506 GB, free: 83.79 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/9.639, allocations: 0 / 3.506 GB, free: 83.79 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/9.639, allocations: 3.984 kB / 3.506 GB, free: 83.79 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00726/9.646, allocations: 2.475 MB / 3.509 GB, free: 81.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/9.646, allocations: 3.953 kB / 3.509 GB, free: 81.26 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/9.648, allocations: 215.7 kB / 3.509 GB, free: 81.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008462/9.649, allocations: 84.78 kB / 3.509 GB, free: 80.96 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/9.649, allocations: 19.97 kB / 3.509 GB, free: 80.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/9.652, allocations: 1.492 MB / 3.511 GB, free: 79.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/9.652, allocations: 4.031 kB / 3.511 GB, free: 79.32 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004159/9.656, allocations: 1.223 MB / 3.512 GB, free: 78.08 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009938/9.657, allocations: 355.4 kB / 3.512 GB, free: 77.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/9.657, allocations: 0 / 3.512 GB, free: 77.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/9.659, allocations: 99.8 kB / 3.512 GB, free: 77.61 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/9.659, allocations: 73.2 kB / 3.512 GB, free: 77.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/9.659, allocations: 43.97 kB / 3.512 GB, free: 77.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008764/9.66, allocations: 495.1 kB / 3.513 GB, free: 77.02 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.683e-06/9.66, allocations: 4 kB / 3.513 GB, free: 77.02 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002313/9.663, allocations: 0.522 MB / 3.513 GB, free: 76.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007963/9.671, allocations: 3.644 MB / 3.517 GB, free: 72.88 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002563/9.673, allocations: 0.9488 MB / 3.518 GB, free: 71.93 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/9.673, allocations: 4.188 kB / 3.518 GB, free: 71.92 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/9.675, allocations: 0.5814 MB / 3.518 GB, free: 71.33 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/9.678, allocations: 368.7 kB / 3.519 GB, free: 70.97 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007882/9.686, allocations: 2.064 MB / 3.521 GB, free: 68.86 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008422/9.686, allocations: 1.208 MB / 3.522 GB, free: 67.62 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002469/9.689, allocations: 371.9 kB / 3.522 GB, free: 67.25 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/9.69, allocations: 0.5227 MB / 3.523 GB, free: 66.73 MB / 0.8698 GB Notification: Performance of SimCode: time 1.433e-06/9.69, allocations: 7.938 kB / 3.523 GB, free: 66.73 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1182/9.808, allocations: 38.72 MB / 3.561 GB, free: 28.16 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/9.809, allocations: 185.8 kB / 3.561 GB, free: 27.96 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.907/14.72, allocations: 0 / 3.561 GB, free: 27.96 MB / 0.8698 GB