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.755/1.755, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001347/0.001348, allocations: 180.9 kB / 361.4 MB, free: 6.801 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.612/1.612, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008362/0.0008362, allocations: 92.41 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.472e-05/3.449e-05, allocations: 4 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7287/0.7288, allocations: 115.3 MB / 0.9644 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.456/6.185, allocations: 2.1 GB / 3.065 GB, free: 14.95 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/6.185, allocations: 88.39 kB / 3.065 GB, free: 14.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.512/7.697, allocations: 399.1 MB / 3.455 GB, free: 6.574 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.843e-06/7.697, allocations: 0 / 3.455 GB, free: 6.574 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000179/7.698, allocations: 36 kB / 3.455 GB, free: 6.539 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.004419/7.702, allocations: 1.588 MB / 3.456 GB, free: 4.898 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/7.702, allocations: 15.97 kB / 3.456 GB, free: 4.883 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00305/7.705, allocations: 393.6 kB / 3.457 GB, free: 4.496 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/7.709, allocations: 1.164 MB / 3.458 GB, free: 3.289 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.313e-05/7.709, allocations: 40 kB / 3.458 GB, free: 3.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004122/7.709, allocations: 76 kB / 3.458 GB, free: 3.176 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003266/7.712, allocations: 1.36 MB / 3.459 GB, free: 1.812 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00349/7.716, allocations: 1.193 MB / 3.46 GB, free: 0.543 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/7.716, allocations: 4 kB / 3.46 GB, free: 0.5391 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000241/7.716, allocations: 0 / 3.46 GB, free: 0.5391 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/7.716, allocations: 32 kB / 3.46 GB, free: 0.5078 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.716/8.432, allocations: 4.585 MB / 3.465 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/8.435, allocations: 1.332 MB / 3.466 GB, free: 227.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008908/8.436, allocations: 411.1 kB / 3.466 GB, free: 227.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008178/8.437, allocations: 426.6 kB / 3.467 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0013/8.438, allocations: 0.5698 MB / 3.467 GB, free: 226.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=98): time 3.086e-06/8.438, allocations: 0 / 3.467 GB, free: 226.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=98): time 0.003241/8.441, allocations: 1.046 MB / 3.468 GB, free: 226.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.371e-05/8.441, allocations: 249.8 kB / 3.469 GB, free: 226.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/8.443, allocations: 0.6041 MB / 3.469 GB, free: 226.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001331/8.443, allocations: 30.83 kB / 3.469 GB, free: 226.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000649/8.443, allocations: 0.5752 MB / 3.47 GB, free: 226.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003239/8.444, allocations: 311.1 kB / 3.47 GB, free: 226 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/8.444, allocations: 0 / 3.47 GB, free: 226 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001098/8.444, allocations: 341.8 kB / 3.47 GB, free: 225.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/8.444, allocations: 310.9 kB / 3.471 GB, free: 225.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007679/8.445, allocations: 0.4963 MB / 3.471 GB, free: 225.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/8.447, allocations: 484 kB / 3.472 GB, free: 225.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/8.447, allocations: 2.188 kB / 3.472 GB, free: 225.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003555/8.45, allocations: 1.09 MB / 3.473 GB, free: 225.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/8.45, allocations: 6.406 kB / 3.473 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/8.45, allocations: 2.938 kB / 3.473 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007437/8.451, allocations: 83.31 kB / 3.473 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/8.453, allocations: 233.5 kB / 3.473 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/8.455, allocations: 1.475 MB / 3.475 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/8.457, allocations: 109.3 kB / 3.475 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/8.457, allocations: 41.69 kB / 3.475 GB, free: 224.1 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.0003821/8.457, allocations: 124.6 kB / 3.475 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003825/8.461, allocations: 1.028 MB / 3.476 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005221/8.462, allocations: 97.75 kB / 3.476 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004526/8.466, allocations: 1.33 MB / 3.477 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-05/8.466, allocations: 11.34 kB / 3.477 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/8.466, allocations: 0 / 3.477 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/8.466, allocations: 5.297 kB / 3.477 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006523/8.473, allocations: 2.506 MB / 3.48 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/8.473, allocations: 0 / 3.48 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/8.474, allocations: 223.5 kB / 3.48 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005507/8.474, allocations: 80.39 kB / 3.48 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/8.475, allocations: 18.73 kB / 3.48 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/8.477, allocations: 1.497 MB / 3.481 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/8.477, allocations: 1.172 kB / 3.481 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003605/8.48, allocations: 1.229 MB / 3.483 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/8.481, allocations: 347.8 kB / 3.483 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004359/8.482, allocations: 8.156 kB / 3.483 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/8.483, allocations: 83.23 kB / 3.483 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/8.484, allocations: 76.39 kB / 3.483 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/8.484, allocations: 50.77 kB / 3.483 GB, free: 221.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001196/8.485, allocations: 486.1 kB / 3.484 GB, free: 221.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.71e-07/8.485, allocations: 3.688 kB / 3.484 GB, free: 221.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003005/8.488, allocations: 0.521 MB / 3.484 GB, free: 221.6 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.008375/8.496, allocations: 3.647 MB / 3.488 GB, free: 220.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00209/8.499, allocations: 0.9504 MB / 3.489 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/8.499, allocations: 3.75 kB / 3.489 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/8.5, allocations: 0.5954 MB / 3.489 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/8.502, allocations: 359.2 kB / 3.49 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007252/8.51, allocations: 2.038 MB / 3.492 GB, free: 219.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/8.511, allocations: 1.197 MB / 3.493 GB, free: 219.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002006/8.513, allocations: 362.4 kB / 3.493 GB, free: 219.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/8.514, allocations: 0.524 MB / 3.494 GB, free: 219.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.182e-06/8.514, allocations: 0 / 3.494 GB, free: 219.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1208/8.635, allocations: 38.83 MB / 3.532 GB, free: 218.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/8.635, allocations: 198 kB / 3.532 GB, free: 218.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.774/12.41, allocations: 0 / 3.532 GB, free: 218.1 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)