Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.505/2.505, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001502/0.001502, allocations: 188.9 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001055/0.001055, allocations: 92.94 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.701e-05/2.702e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8096/0.8097, allocations: 115.3 MB / 0.9634 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.039/6.848, allocations: 2.1 GB / 3.064 GB, free: 19.17 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/6.849, allocations: 86.27 kB / 3.064 GB, free: 19.12 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.098/8.947, allocations: 399.1 MB / 3.453 GB, free: 10.77 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.225e-06/8.947, allocations: 0 / 3.453 GB, free: 10.77 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001509/8.947, allocations: 39.94 kB / 3.453 GB, free: 10.73 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.004832/8.952, allocations: 1.588 MB / 3.455 GB, free: 9.09 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.482e-05/8.952, allocations: 12.03 kB / 3.455 GB, free: 9.078 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004484/8.957, allocations: 397.6 kB / 3.455 GB, free: 8.688 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004615/8.961, allocations: 1.153 MB / 3.456 GB, free: 7.492 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.391e-05/8.961, allocations: 40 kB / 3.457 GB, free: 7.453 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000293/8.962, allocations: 76 kB / 3.457 GB, free: 7.379 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003556/8.965, allocations: 1.363 MB / 3.458 GB, free: 6.012 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00303/8.968, allocations: 1.195 MB / 3.459 GB, free: 4.742 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.177e-05/8.968, allocations: 0 / 3.459 GB, free: 4.742 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/8.969, allocations: 0 / 3.459 GB, free: 4.742 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/8.969, allocations: 35.94 kB / 3.459 GB, free: 4.707 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.7028/9.671, allocations: 4.596 MB / 3.464 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003751/9.675, allocations: 1.333 MB / 3.465 GB, free: 227.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/9.677, allocations: 409.3 kB / 3.465 GB, free: 227.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/9.678, allocations: 427.2 kB / 3.466 GB, free: 226.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001686/9.68, allocations: 0.5669 MB / 3.466 GB, free: 226.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=98): time 5.1e-06/9.68, allocations: 0 / 3.466 GB, free: 226.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=98): time 0.005437/9.685, allocations: 1.042 MB / 3.467 GB, free: 226.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/9.685, allocations: 247.3 kB / 3.468 GB, free: 226.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/9.687, allocations: 0.612 MB / 3.468 GB, free: 226.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003469/9.687, allocations: 30.5 kB / 3.468 GB, free: 226.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006961/9.688, allocations: 0.5723 MB / 3.469 GB, free: 226.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005283/9.689, allocations: 318.3 kB / 3.469 GB, free: 226 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.948e-05/9.689, allocations: 2.688 kB / 3.469 GB, free: 226 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.988e-05/9.689, allocations: 338.6 kB / 3.469 GB, free: 225.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008387/9.69, allocations: 309.8 kB / 3.47 GB, free: 225.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009746/9.691, allocations: 0.4962 MB / 3.47 GB, free: 225.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/9.693, allocations: 483.6 kB / 3.471 GB, free: 225.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/9.693, allocations: 0 / 3.471 GB, free: 225.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.004508/9.697, allocations: 1.085 MB / 3.472 GB, free: 225.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/9.697, allocations: 8.25 kB / 3.472 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/9.697, allocations: 2.188 kB / 3.472 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00099/9.698, allocations: 87.52 kB / 3.472 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/9.7, allocations: 227.5 kB / 3.472 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/9.703, allocations: 1.476 MB / 3.473 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/9.705, allocations: 105.8 kB / 3.473 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/9.705, allocations: 41.28 kB / 3.474 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.0004051/9.706, allocations: 132.6 kB / 3.474 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004615/9.71, allocations: 1.027 MB / 3.475 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005721/9.711, allocations: 97.94 kB / 3.475 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005952/9.717, allocations: 1.316 MB / 3.476 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/9.717, allocations: 16.14 kB / 3.476 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/9.717, allocations: 4.219 kB / 3.476 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.301e-05/9.717, allocations: 9.625 kB / 3.476 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/9.727, allocations: 2.516 MB / 3.479 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/9.727, allocations: 1.125 kB / 3.479 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002266/9.73, allocations: 217.2 kB / 3.479 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/9.731, allocations: 87.17 kB / 3.479 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002628/9.731, allocations: 16.66 kB / 3.479 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002625/9.734, allocations: 1.488 MB / 3.48 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/9.734, allocations: 0 / 3.48 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005267/9.739, allocations: 1.224 MB / 3.481 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/9.74, allocations: 352.2 kB / 3.482 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002998/9.74, allocations: 3.781 kB / 3.482 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002086/9.743, allocations: 83.53 kB / 3.482 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/9.743, allocations: 79.05 kB / 3.482 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/9.743, allocations: 44.92 kB / 3.482 GB, free: 221.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009271/9.744, allocations: 493.2 kB / 3.482 GB, free: 221.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.41e-07/9.744, allocations: 0 / 3.482 GB, free: 221.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002661/9.747, allocations: 0.5258 MB / 3.483 GB, free: 221.7 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.008868/9.756, allocations: 3.635 MB / 3.487 GB, free: 220.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002845/9.759, allocations: 0.9549 MB / 3.487 GB, free: 220.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/9.759, allocations: 3.656 kB / 3.487 GB, free: 220.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001571/9.76, allocations: 0.5802 MB / 3.488 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/9.764, allocations: 374.4 kB / 3.488 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008907/9.773, allocations: 2.04 MB / 3.49 GB, free: 219.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/9.774, allocations: 1.2 MB / 3.492 GB, free: 219.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00278/9.777, allocations: 365.3 kB / 3.492 GB, free: 219.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/9.778, allocations: 0.5227 MB / 3.492 GB, free: 219.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.974e-06/9.778, allocations: 0 / 3.492 GB, free: 219.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1427/9.921, allocations: 38.81 MB / 3.53 GB, free: 218.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/9.921, allocations: 181.9 kB / 3.53 GB, free: 218.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.774/14.7, allocations: 3.938 kB / 3.53 GB, free: 218.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)