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.823/1.823, allocations: 285.4 MB / 298 MB, free: 5.988 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.001459/0.001459, allocations: 180.8 kB / 366.4 MB, free: 2.09 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.502/1.502, allocations: 205.1 MB / 0.6248 GB, free: 7.719 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.0008975/0.0008975, allocations: 100.2 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.184e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6889/0.689, allocations: 115.3 MB / 0.971 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.812/5.501, allocations: 2.101 GB / 3.072 GB, free: 37.56 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/5.501, allocations: 88.45 kB / 3.072 GB, free: 37.48 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.444/6.945, allocations: 403.7 MB / 3.466 GB, free: 15.41 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.595e-06/6.945, allocations: 0 / 3.466 GB, free: 15.41 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001175/6.945, allocations: 36 kB / 3.466 GB, free: 15.38 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.003304/6.948, allocations: 1.584 MB / 3.468 GB, free: 13.74 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.832e-05/6.948, allocations: 12.03 kB / 3.468 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002391/6.949, allocations: 186.2 kB / 3.468 GB, free: 13.54 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002732/6.951, allocations: 397.6 kB / 3.468 GB, free: 13.14 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003495/6.955, allocations: 1.156 MB / 3.47 GB, free: 11.94 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.043e-05/6.955, allocations: 98.58 kB / 3.47 GB, free: 11.84 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/6.955, allocations: 124 kB / 3.47 GB, free: 11.72 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/6.958, allocations: 1.382 MB / 3.471 GB, free: 10.26 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/6.958, allocations: 3.938 kB / 3.471 GB, free: 10.26 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/6.958, allocations: 52 kB / 3.471 GB, free: 10.21 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/6.958, allocations: 32 kB / 3.471 GB, free: 10.18 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/6.96, allocations: 1.446 MB / 3.473 GB, free: 8.723 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.006696/6.967, allocations: 4.843 MB / 3.477 GB, free: 3.648 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/6.968, allocations: 1.396 MB / 3.479 GB, free: 2.176 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005546/6.969, allocations: 443.4 kB / 3.479 GB, free: 1.738 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006352/6.97, allocations: 425.1 kB / 3.48 GB, free: 1.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000842/6.97, allocations: 0.6104 MB / 3.48 GB, free: 0.6211 MB / 0.948 GB Notification: Performance of pre-optimization done (n=98): time 3.166e-06/6.97, allocations: 0 / 3.48 GB, free: 0.6211 MB / 0.948 GB Notification: Performance of matching and sorting (n=98): time 0.7187/7.689, allocations: 1.005 MB / 3.481 GB, free: 224.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/7.689, allocations: 244.2 kB / 3.481 GB, free: 224.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/7.691, allocations: 0.7791 MB / 3.482 GB, free: 224.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002843/7.691, allocations: 49.2 kB / 3.482 GB, free: 224.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005787/7.692, allocations: 0.5573 MB / 3.483 GB, free: 224.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003377/7.692, allocations: 335.2 kB / 3.483 GB, free: 224.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/7.692, allocations: 21.31 kB / 3.483 GB, free: 224.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.545e-05/7.692, allocations: 342.4 kB / 3.483 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/7.693, allocations: 326.6 kB / 3.484 GB, free: 223.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008002/7.694, allocations: 0.5179 MB / 3.484 GB, free: 223.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007456/7.695, allocations: 407 kB / 3.485 GB, free: 223.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/7.695, allocations: 0.875 kB / 3.485 GB, free: 223.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002525/7.697, allocations: 1.067 MB / 3.486 GB, free: 223.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/7.697, allocations: 5.812 kB / 3.486 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/7.697, allocations: 4.297 kB / 3.486 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006117/7.698, allocations: 87.12 kB / 3.486 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/7.699, allocations: 239.8 kB / 3.486 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/7.701, allocations: 1.52 MB / 3.487 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/7.702, allocations: 141 kB / 3.488 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/7.702, allocations: 38.03 kB / 3.488 GB, free: 222.2 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.0002507/7.702, allocations: 168.6 kB / 3.488 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/7.703, allocations: 123.8 kB / 3.488 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00313/7.706, allocations: 1.314 MB / 3.489 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.738e-05/7.706, allocations: 10.91 kB / 3.489 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/7.706, allocations: 0.875 kB / 3.489 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/7.706, allocations: 4.172 kB / 3.489 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00615/7.712, allocations: 2.651 MB / 3.492 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/7.712, allocations: 0 / 3.492 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/7.713, allocations: 222.3 kB / 3.492 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005434/7.714, allocations: 84.95 kB / 3.492 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.952e-05/7.714, allocations: 29.91 kB / 3.492 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/7.715, allocations: 1.553 MB / 3.494 GB, free: 220.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/7.715, allocations: 6.375 kB / 3.494 GB, free: 220.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002402/7.718, allocations: 1.191 MB / 3.495 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008579/7.719, allocations: 364.2 kB / 3.495 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/7.719, allocations: 19.28 kB / 3.495 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000983/7.72, allocations: 107.3 kB / 3.495 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/7.72, allocations: 74.25 kB / 3.495 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/7.72, allocations: 43.53 kB / 3.495 GB, free: 219.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001114/7.721, allocations: 0.6147 MB / 3.496 GB, free: 219.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/7.721, allocations: 0 / 3.496 GB, free: 219.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002309/7.724, allocations: 0.5975 MB / 3.496 GB, free: 219.8 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.005805/7.73, allocations: 3.464 MB / 3.5 GB, free: 218.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001769/7.731, allocations: 0.9962 MB / 3.501 GB, free: 218.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/7.731, allocations: 6.625 kB / 3.501 GB, free: 218.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008742/7.732, allocations: 0.6202 MB / 3.501 GB, free: 218.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/7.735, allocations: 460.6 kB / 3.502 GB, free: 218.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005079/7.74, allocations: 2.145 MB / 3.504 GB, free: 218 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/7.74, allocations: 1.204 MB / 3.505 GB, free: 217.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001531/7.742, allocations: 381.1 kB / 3.506 GB, free: 217.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007132/7.743, allocations: 0.5232 MB / 3.506 GB, free: 217.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.453e-06/7.743, allocations: 0 / 3.506 GB, free: 217.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1275/7.87, allocations: 56.85 MB / 3.562 GB, free: 215.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/7.87, allocations: 240.7 kB / 3.562 GB, free: 215.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.291/12.16, allocations: 3.844 kB / 3.562 GB, free: 215.6 MB / 0.948 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)