Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 249.5 MB / 257 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 176.9 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000958/0.0009577, allocations: 97.58 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.217e-05/2.22e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2048, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.042/6.247, allocations: 2.219 GB / 3.105 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/6.248, allocations: 83.39 kB / 3.105 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.286/7.534, allocations: 389.6 MB / 3.485 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.433e-06/7.534, allocations: 0 / 3.485 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001258/7.534, allocations: 44.2 kB / 3.485 GB, free: 102.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.003131/7.537, allocations: 1.604 MB / 3.487 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/7.537, allocations: 15.97 kB / 3.487 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/7.54, allocations: 393.7 kB / 3.487 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002497/7.542, allocations: 1.172 MB / 3.488 GB, free: 99.05 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.835e-05/7.542, allocations: 40 kB / 3.488 GB, free: 99.02 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/7.543, allocations: 76 kB / 3.488 GB, free: 98.94 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001874/7.544, allocations: 1.36 MB / 3.49 GB, free: 97.58 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/7.546, allocations: 1.202 MB / 3.491 GB, free: 96.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/7.546, allocations: 0 / 3.491 GB, free: 96.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/7.546, allocations: 8 kB / 3.491 GB, free: 96.29 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/7.546, allocations: 32 kB / 3.491 GB, free: 96.26 MB / 0.8698 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.006043/7.552, allocations: 4.707 MB / 3.496 GB, free: 91.31 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/7.554, allocations: 1.175 MB / 3.497 GB, free: 90.09 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004852/7.555, allocations: 405.2 kB / 3.497 GB, free: 89.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006247/7.555, allocations: 425.2 kB / 3.497 GB, free: 89.21 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007417/7.556, allocations: 0.5776 MB / 3.498 GB, free: 88.61 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=98): time 2.985e-06/7.556, allocations: 0 / 3.498 GB, free: 88.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=98): time 0.002506/7.558, allocations: 1.041 MB / 3.499 GB, free: 87.56 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.192e-05/7.559, allocations: 248.1 kB / 3.499 GB, free: 87.26 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009269/7.559, allocations: 0.6136 MB / 3.5 GB, free: 86.64 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.85e-05/7.56, allocations: 29.7 kB / 3.5 GB, free: 86.61 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/7.56, allocations: 0.5813 MB / 3.5 GB, free: 86.02 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/7.56, allocations: 319.2 kB / 3.501 GB, free: 85.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/7.56, allocations: 0 / 3.501 GB, free: 85.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.519e-05/7.56, allocations: 349.9 kB / 3.501 GB, free: 85.35 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/7.561, allocations: 306.5 kB / 3.501 GB, free: 85.05 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004906/7.561, allocations: 499.4 kB / 3.502 GB, free: 84.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009794/7.562, allocations: 478 kB / 3.502 GB, free: 84.03 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/7.562, allocations: 0 / 3.502 GB, free: 84.03 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002225/7.564, allocations: 1.09 MB / 3.503 GB, free: 82.93 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/7.565, allocations: 5.562 kB / 3.503 GB, free: 82.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/7.565, allocations: 4 kB / 3.503 GB, free: 82.92 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/7.565, allocations: 89.67 kB / 3.504 GB, free: 82.83 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009534/7.566, allocations: 223.7 kB / 3.504 GB, free: 82.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/7.568, allocations: 1.473 MB / 3.505 GB, free: 81.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/7.569, allocations: 111.2 kB / 3.505 GB, free: 80.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/7.569, allocations: 39.98 kB / 3.505 GB, free: 80.87 MB / 0.8698 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.0002557/7.569, allocations: 125 kB / 3.505 GB, free: 80.74 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00219/7.571, allocations: 1.019 MB / 3.506 GB, free: 79.71 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/7.572, allocations: 110.7 kB / 3.507 GB, free: 79.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/7.574, allocations: 1.332 MB / 3.508 GB, free: 78.25 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/7.574, allocations: 12 kB / 3.508 GB, free: 78.24 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/7.574, allocations: 0 / 3.508 GB, free: 78.24 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/7.574, allocations: 3.984 kB / 3.508 GB, free: 78.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004319/7.579, allocations: 2.463 MB / 3.51 GB, free: 75.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/7.579, allocations: 0 / 3.51 GB, free: 75.72 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009248/7.58, allocations: 219.7 kB / 3.51 GB, free: 75.51 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004678/7.58, allocations: 88.72 kB / 3.511 GB, free: 75.42 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.902e-05/7.58, allocations: 15.98 kB / 3.511 GB, free: 75.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/7.582, allocations: 1.504 MB / 3.512 GB, free: 73.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/7.582, allocations: 0 / 3.512 GB, free: 73.77 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/7.584, allocations: 1.227 MB / 3.513 GB, free: 72.53 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007642/7.585, allocations: 351.4 kB / 3.514 GB, free: 72.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000281/7.585, allocations: 11.94 kB / 3.514 GB, free: 72.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/7.586, allocations: 83.83 kB / 3.514 GB, free: 72.07 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/7.587, allocations: 73.2 kB / 3.514 GB, free: 72 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/7.587, allocations: 47.95 kB / 3.514 GB, free: 71.95 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007605/7.588, allocations: 495.1 kB / 3.514 GB, free: 71.48 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/7.588, allocations: 0 / 3.514 GB, free: 71.48 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001931/7.589, allocations: 0.5337 MB / 3.515 GB, free: 70.94 MB / 0.8698 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.005845/7.595, allocations: 3.641 MB / 3.518 GB, free: 67.31 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001654/7.597, allocations: 0.941 MB / 3.519 GB, free: 66.36 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/7.597, allocations: 192 / 3.519 GB, free: 66.36 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009071/7.598, allocations: 0.6007 MB / 3.52 GB, free: 65.75 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/7.6, allocations: 362.9 kB / 3.52 GB, free: 65.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005898/7.606, allocations: 2.072 MB / 3.522 GB, free: 63.29 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007539/7.607, allocations: 1.208 MB / 3.523 GB, free: 62.05 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00167/7.609, allocations: 367.9 kB / 3.524 GB, free: 61.69 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007464/7.609, allocations: 0.5227 MB / 3.524 GB, free: 61.16 MB / 0.8698 GB Notification: Performance of SimCode: time 1.633e-06/7.609, allocations: 0 / 3.524 GB, free: 61.16 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07/7.679, allocations: 38.73 MB / 3.562 GB, free: 22.58 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/7.68, allocations: 197.9 kB / 3.562 GB, free: 22.38 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.315/11, allocations: 0 / 3.562 GB, free: 22.38 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)