Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.959/1.959, allocations: 289.9 MB / 297.4 MB, free: 6.332 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.001165/0.001164, allocations: 176.9 kB / 366.7 MB, free: 1.625 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.821/1.821, allocations: 205.2 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 86.86 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.154e-05/3.148e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7172/0.7173, allocations: 116.3 MB / 0.9733 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.53/6.248, allocations: 2.101 GB / 3.075 GB, free: 27.15 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/6.248, allocations: 88.5 kB / 3.075 GB, free: 27.07 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.527/7.775, allocations: 399.1 MB / 3.464 GB, free: 9.621 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.445e-06/7.775, allocations: 0 / 3.464 GB, free: 9.621 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001395/7.775, allocations: 39.98 kB / 3.464 GB, free: 9.582 MB / 0.948 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.003582/7.779, allocations: 1.584 MB / 3.466 GB, free: 7.945 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/7.779, allocations: 12.03 kB / 3.466 GB, free: 7.934 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002563/7.781, allocations: 401.9 kB / 3.466 GB, free: 7.539 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002548/7.784, allocations: 1.153 MB / 3.467 GB, free: 6.344 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/7.784, allocations: 47.98 kB / 3.468 GB, free: 6.297 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/7.784, allocations: 76 kB / 3.468 GB, free: 6.223 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001905/7.786, allocations: 1.36 MB / 3.469 GB, free: 4.859 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/7.788, allocations: 1.193 MB / 3.47 GB, free: 3.59 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/7.788, allocations: 0 / 3.47 GB, free: 3.59 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/7.788, allocations: 0 / 3.47 GB, free: 3.59 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/7.788, allocations: 35.95 kB / 3.47 GB, free: 3.555 MB / 0.948 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.6687/8.457, allocations: 4.592 MB / 3.475 GB, free: 224.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002716/8.459, allocations: 1.338 MB / 3.476 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007769/8.46, allocations: 408.9 kB / 3.476 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007726/8.461, allocations: 429.3 kB / 3.477 GB, free: 223.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/8.462, allocations: 0.5662 MB / 3.477 GB, free: 223.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=98): time 3.938e-06/8.462, allocations: 0 / 3.477 GB, free: 223.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=98): time 0.003436/8.465, allocations: 1.057 MB / 3.478 GB, free: 223.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.721e-05/8.465, allocations: 244.2 kB / 3.479 GB, free: 223 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/8.467, allocations: 0.6048 MB / 3.479 GB, free: 222.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/8.467, allocations: 31.86 kB / 3.479 GB, free: 222.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000575/8.467, allocations: 0.5714 MB / 3.48 GB, free: 222.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000287/8.468, allocations: 312.8 kB / 3.48 GB, free: 222.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/8.468, allocations: 2.844 kB / 3.48 GB, free: 222.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001031/8.468, allocations: 341.9 kB / 3.48 GB, free: 222.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/8.468, allocations: 313.6 kB / 3.481 GB, free: 222.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007647/8.469, allocations: 0.4921 MB / 3.481 GB, free: 222 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/8.47, allocations: 484.6 kB / 3.482 GB, free: 222 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/8.47, allocations: 0.9375 kB / 3.482 GB, free: 222 MB / 0.948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00332/8.474, allocations: 1.089 MB / 3.483 GB, free: 221.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/8.474, allocations: 8.656 kB / 3.483 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/8.474, allocations: 4 kB / 3.483 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006538/8.475, allocations: 90.7 kB / 3.483 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/8.476, allocations: 227.5 kB / 3.483 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/8.477, allocations: 1.464 MB / 3.484 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/8.479, allocations: 104.3 kB / 3.484 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/8.479, allocations: 37.91 kB / 3.485 GB, free: 220.6 MB / 0.948 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.000302/8.479, allocations: 131.8 kB / 3.485 GB, free: 220.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002756/8.482, allocations: 1.031 MB / 3.486 GB, free: 220.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/8.482, allocations: 97.75 kB / 3.486 GB, free: 220.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003406/8.485, allocations: 1.335 MB / 3.487 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/8.486, allocations: 10.7 kB / 3.487 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/8.486, allocations: 0.8438 kB / 3.487 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/8.486, allocations: 5.297 kB / 3.487 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005277/8.491, allocations: 2.499 MB / 3.49 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/8.491, allocations: 1.031 kB / 3.49 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/8.492, allocations: 219.9 kB / 3.49 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005027/8.492, allocations: 91.06 kB / 3.49 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.131e-05/8.493, allocations: 18.38 kB / 3.49 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/8.494, allocations: 1.5 MB / 3.491 GB, free: 218.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/8.494, allocations: 0 / 3.491 GB, free: 218.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/8.497, allocations: 1.219 MB / 3.492 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006345/8.498, allocations: 350.4 kB / 3.493 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/8.498, allocations: 3.969 kB / 3.493 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008557/8.499, allocations: 85.31 kB / 3.493 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/8.499, allocations: 74.05 kB / 3.493 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.313e-05/8.499, allocations: 53.94 kB / 3.493 GB, free: 218.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000784/8.5, allocations: 488.2 kB / 3.493 GB, free: 218.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/8.5, allocations: 0.5469 kB / 3.493 GB, free: 218.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001979/8.502, allocations: 0.5211 MB / 3.494 GB, free: 218.2 MB / 0.948 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.006269/8.508, allocations: 3.63 MB / 3.498 GB, free: 217.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001899/8.51, allocations: 0.9455 MB / 3.498 GB, free: 217 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/8.51, allocations: 7 kB / 3.498 GB, free: 217 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008545/8.511, allocations: 0.5902 MB / 3.499 GB, free: 216.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/8.513, allocations: 367.7 kB / 3.499 GB, free: 216.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006462/8.519, allocations: 2.049 MB / 3.501 GB, free: 216.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/8.52, allocations: 1.201 MB / 3.503 GB, free: 215.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001657/8.522, allocations: 363.4 kB / 3.503 GB, free: 215.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007707/8.523, allocations: 0.5209 MB / 3.503 GB, free: 215.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.362e-06/8.523, allocations: 0 / 3.503 GB, free: 215.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1164/8.639, allocations: 38.82 MB / 3.541 GB, free: 214.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/8.64, allocations: 185.7 kB / 3.542 GB, free: 214.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.949/12.59, allocations: 4 kB / 3.542 GB, free: 214.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)