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.489/1.489, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 183.2 kB / 326.5 MB, free: 2.227 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.663/1.663, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.000861/0.000861, allocations: 101 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000406/0.0004062, allocations: 10.12 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1981, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1538/0.352, allocations: 147.1 MB / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01402/0.366, allocations: 10.52 MB / 1.054 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.3673, allocations: 23.88 kB / 1.054 GB, free: 1.852 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.3683, allocations: 282.3 kB / 1.054 GB, free: 1.574 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.3707, allocations: 0.767 MB / 1.055 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.4854/0.8562, allocations: 1.202 MB / 1.056 GB, free: 3.891 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004224/0.8604, allocations: 1.413 MB / 1.058 GB, free: 3.883 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002542/0.863, allocations: 1.169 MB / 1.059 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003275/0.8663, allocations: 1.122 MB / 1.06 GB, free: 3.777 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.8675, allocations: 0.5157 MB / 1.06 GB, free: 3.777 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.8676, allocations: 41.25 kB / 1.06 GB, free: 3.777 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.8696, allocations: 0.6779 MB / 1.061 GB, free: 3.777 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003797/0.87, allocations: 321.6 kB / 1.061 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004482/0.8705, allocations: 287.5 kB / 1.062 GB, free: 3.742 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002903/0.8734, allocations: 1.733 MB / 1.063 GB, free: 3.613 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.8734, allocations: 0 / 1.063 GB, free: 3.613 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8734, allocations: 0 / 1.063 GB, free: 3.613 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.308e-05/0.8735, allocations: 0 / 1.063 GB, free: 3.613 MB / 0.698 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.003611/0.8771, allocations: 1.571 MB / 1.065 GB, free: 18.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.8771, allocations: 11.69 kB / 1.065 GB, free: 18.71 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003047/0.8774, allocations: 196.4 kB / 1.065 GB, free: 18.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002681/0.8801, allocations: 411.4 kB / 1.065 GB, free: 18.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.8821, allocations: 0.9232 MB / 1.066 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.8822, allocations: 97.28 kB / 1.066 GB, free: 18.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.8824, allocations: 128.2 kB / 1.067 GB, free: 18.26 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003182/0.8856, allocations: 1.445 MB / 1.068 GB, free: 18.03 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.8857, allocations: 4.25 kB / 1.068 GB, free: 18.03 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001851/0.8859, allocations: 56.91 kB / 1.068 GB, free: 18.03 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.581e-05/0.886, allocations: 32.25 kB / 1.068 GB, free: 18.03 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004054/0.89, allocations: 1.522 MB / 1.07 GB, free: 18.01 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008561/0.8986, allocations: 4.913 MB / 1.074 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/0.9014, allocations: 1.29 MB / 1.076 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006292/0.902, allocations: 261.1 kB / 1.076 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/0.9032, allocations: 0.6231 MB / 1.076 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 3.246e-06/0.9032, allocations: 2.531 kB / 1.076 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.004205/0.9075, allocations: 1.527 MB / 1.078 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.9076, allocations: 191.5 kB / 1.078 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.9091, allocations: 0.8347 MB / 1.079 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001548/0.9093, allocations: 46.14 kB / 1.079 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005084/0.9098, allocations: 0.5709 MB / 1.08 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002841/0.9101, allocations: 329.1 kB / 1.08 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.9102, allocations: 18.56 kB / 1.08 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.9103, allocations: 344.2 kB / 1.08 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006945/0.911, allocations: 335.9 kB / 1.081 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008907/0.9119, allocations: 0.5186 MB / 1.081 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008536/0.9128, allocations: 417.2 kB / 1.081 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.9128, allocations: 0 / 1.081 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002714/0.9155, allocations: 1.103 MB / 1.083 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.9155, allocations: 6.438 kB / 1.083 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.9156, allocations: 3.219 kB / 1.083 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/0.9162, allocations: 91.95 kB / 1.083 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.9173, allocations: 227 kB / 1.083 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.9196, allocations: 1.549 MB / 1.084 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.9209, allocations: 144.6 kB / 1.084 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/0.921, allocations: 41.39 kB / 1.085 GB, free: 12.22 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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.0009611/0.9219, allocations: 331 kB / 1.085 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.9222, allocations: 118 kB / 1.085 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002912/0.9251, allocations: 1.331 MB / 1.086 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.9251, allocations: 12.81 kB / 1.086 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.9252, allocations: 6.562 kB / 1.086 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.9252, allocations: 6.188 kB / 1.086 GB, free: 11.89 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 postOpt removeSimpleEquations (simulation): time 0.005044/0.9302, allocations: 2.719 MB / 1.089 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.9303, allocations: 7.453 kB / 1.089 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009215/0.9312, allocations: 218.3 kB / 1.089 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005537/0.9318, allocations: 83.95 kB / 1.089 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.112e-05/0.9319, allocations: 31.42 kB / 1.089 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.9339, allocations: 1.578 MB / 1.091 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.9339, allocations: 1.344 kB / 1.091 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/0.9367, allocations: 1.298 MB / 1.092 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009261/0.9377, allocations: 355.4 kB / 1.092 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/0.938, allocations: 21.91 kB / 1.092 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.9392, allocations: 111.9 kB / 1.093 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.9394, allocations: 73.84 kB / 1.093 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.9395, allocations: 48.55 kB / 1.093 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001028/0.9406, allocations: 0.5769 MB / 1.093 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.002e-06/0.9406, allocations: 0 / 1.093 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0018/0.9424, allocations: 445.2 kB / 1.094 GB, free: 9.332 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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) * Number of clocked states: 0 () * 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.005016/0.9474, allocations: 2.676 MB / 1.096 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002332/0.9498, allocations: 1.025 MB / 1.097 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.9498, allocations: 2.562 kB / 1.097 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.951, allocations: 0.639 MB / 1.098 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/0.9536, allocations: 464.2 kB / 1.098 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01824/0.9719, allocations: 8.937 MB / 1.107 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.9732, allocations: 1.208 MB / 1.108 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001971/0.9751, allocations: 374.3 kB / 1.109 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00091/0.9761, allocations: 0.5203 MB / 1.109 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of SimCode: time 1.643e-06/0.9761, allocations: 7.938 kB / 1.109 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07333/1.049, allocations: 31.43 MB / 1.14 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/1.05, allocations: 283.1 kB / 1.14 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.169/4.218, allocations: 4 kB / 1.14 GB, free: 3.27 MB / 0.7292 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)