Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.646/1.646, allocations: 288.2 MB / 303.2 MB, free: 8.098 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 191.4 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000864/0.000864, allocations: 82.89 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.0004033, allocations: 17.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2178, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.658/0.8759, allocations: 146.9 MB / 1.123 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01445/0.8904, allocations: 10.46 MB / 1.133 GB, free: 272 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/0.8923, allocations: 23.06 kB / 1.133 GB, free: 264 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.8935, allocations: 271.2 kB / 1.133 GB, free: 192 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003477/0.897, allocations: 0.7449 MB / 1.134 GB, free: 132 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004554/0.9015, allocations: 1.182 MB / 1.135 GB, free: 80 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003203/0.9048, allocations: 1.347 MB / 1.137 GB, free: 16 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002223/0.907, allocations: 1.151 MB / 1.138 GB, free: 15.79 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003318/0.9103, allocations: 1.079 MB / 1.139 GB, free: 15.47 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.9118, allocations: 0.5079 MB / 1.139 GB, free: 15.26 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/0.912, allocations: 41.38 kB / 1.139 GB, free: 15.26 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002353/0.9143, allocations: 0.6813 MB / 1.14 GB, free: 15.12 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003316/0.9147, allocations: 304.9 kB / 1.14 GB, free: 15.01 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004611/0.9152, allocations: 277.1 kB / 1.141 GB, free: 14.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.9178, allocations: 1.698 MB / 1.142 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.9178, allocations: 0 / 1.142 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9178, allocations: 0 / 1.142 GB, free: 14.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.012e-05/0.9179, allocations: 2.375 kB / 1.142 GB, free: 14.04 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003658/0.9216, allocations: 1.562 MB / 1.144 GB, free: 12.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.9216, allocations: 10.22 kB / 1.144 GB, free: 12.96 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002962/0.9219, allocations: 191.7 kB / 1.144 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002795/0.9247, allocations: 411.5 kB / 1.144 GB, free: 12.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.9266, allocations: 0.9146 MB / 1.145 GB, free: 12.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-05/0.9267, allocations: 103.6 kB / 1.145 GB, free: 12.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.9269, allocations: 125.3 kB / 1.145 GB, free: 12.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/0.9296, allocations: 1.418 MB / 1.147 GB, free: 11.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.9297, allocations: 3.938 kB / 1.147 GB, free: 11.69 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.9298, allocations: 62.72 kB / 1.147 GB, free: 11.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-05/0.9299, allocations: 30.69 kB / 1.147 GB, free: 11.69 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/0.9328, allocations: 1.522 MB / 1.148 GB, free: 11.32 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008125/0.9409, allocations: 4.9 MB / 1.153 GB, free: 8.223 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.9434, allocations: 1.301 MB / 1.154 GB, free: 7.828 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005882/0.944, allocations: 256.5 kB / 1.155 GB, free: 7.617 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/0.9452, allocations: 0.6133 MB / 1.155 GB, free: 7.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=98): time 3.817e-06/0.9452, allocations: 1.859 kB / 1.155 GB, free: 7.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=98): time 0.004287/0.9495, allocations: 1.537 MB / 1.157 GB, free: 6.504 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.9497, allocations: 195.5 kB / 1.157 GB, free: 6.277 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.951, allocations: 0.8204 MB / 1.158 GB, free: 5.797 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.9512, allocations: 44.98 kB / 1.158 GB, free: 5.754 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005435/0.9517, allocations: 0.5676 MB / 1.158 GB, free: 5.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003187/0.9521, allocations: 332.5 kB / 1.159 GB, free: 4.969 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.9521, allocations: 15.06 kB / 1.159 GB, free: 4.957 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.9523, allocations: 338.8 kB / 1.159 GB, free: 4.629 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007484/0.953, allocations: 345.1 kB / 1.159 GB, free: 4.461 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008711/0.9539, allocations: 0.5211 MB / 1.16 GB, free: 4.078 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008583/0.9548, allocations: 418.9 kB / 1.16 GB, free: 3.863 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.9548, allocations: 1.094 kB / 1.16 GB, free: 3.863 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002679/0.9575, allocations: 1.095 MB / 1.161 GB, free: 3.305 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.9575, allocations: 13.45 kB / 1.161 GB, free: 3.297 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.9576, allocations: 7.484 kB / 1.161 GB, free: 3.293 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000606/0.9582, allocations: 86.59 kB / 1.161 GB, free: 3.254 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.9593, allocations: 227.8 kB / 1.162 GB, free: 3.203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.9616, allocations: 1.561 MB / 1.163 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.9629, allocations: 139.8 kB / 1.163 GB, free: 1.594 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.45e-05/0.963, allocations: 40.28 kB / 1.163 GB, free: 1.582 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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.0008502/0.9638, allocations: 327 kB / 1.164 GB, free: 1.336 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.9641, allocations: 113.1 kB / 1.164 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/0.9672, allocations: 1.34 MB / 1.165 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.9673, allocations: 10.78 kB / 1.165 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9673, allocations: 4 kB / 1.165 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.9673, allocations: 7.969 kB / 1.165 GB, free: 0.5078 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 postOpt removeSimpleEquations (simulation): time 0.005461/0.9728, allocations: 2.713 MB / 1.168 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.9728, allocations: 5.688 kB / 1.168 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009616/0.9738, allocations: 220.2 kB / 1.168 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005237/0.9743, allocations: 87.78 kB / 1.168 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.284e-05/0.9744, allocations: 30.72 kB / 1.168 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.9763, allocations: 1.58 MB / 1.17 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9764, allocations: 0 / 1.17 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/0.9792, allocations: 1.3 MB / 1.171 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009599/0.9801, allocations: 353.4 kB / 1.171 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003168/0.9805, allocations: 17.09 kB / 1.171 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.9817, allocations: 109 kB / 1.171 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.9818, allocations: 73.23 kB / 1.171 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.982, allocations: 54.97 kB / 1.171 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001008/0.983, allocations: 0.5607 MB / 1.172 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.983, allocations: 0 / 1.172 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001606/0.9846, allocations: 443.7 kB / 1.172 GB, free: 11.38 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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) * Number of clocked states: 0 () * 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.004563/0.9892, allocations: 2.684 MB / 1.175 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002197/0.9914, allocations: 1.034 MB / 1.176 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.9914, allocations: 2.906 kB / 1.176 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.9926, allocations: 0.6362 MB / 1.177 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/0.995, allocations: 454.1 kB / 1.177 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01763/1.013, allocations: 8.924 MB / 1.186 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/1.014, allocations: 1.204 MB / 1.187 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001896/1.016, allocations: 369 kB / 1.187 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009052/1.017, allocations: 0.5161 MB / 1.188 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of SimCode: time 9.52e-07/1.017, allocations: 5.859 kB / 1.188 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06691/1.084, allocations: 31.19 MB / 1.218 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000256/1.084, allocations: 273.2 kB / 1.219 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.073/4.157, allocations: 0 / 1.219 GB, free: 2.062 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)