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.463/1.463, allocations: 249.3 MB / 261.9 MB, free: 5.801 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.001134/0.001134, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.1 MB / 0.572 GB, free: 10.7 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.0008304/0.0008305, allocations: 82.56 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.623e-05/3.625e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2146, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.491/5.706, allocations: 2.219 GB / 3.111 GB, free: 149 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/5.706, allocations: 87.95 kB / 3.111 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.281/6.987, allocations: 394.3 MB / 3.496 GB, free: 92.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.094e-06/6.987, allocations: 0 / 3.496 GB, free: 92.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001066/6.987, allocations: 43.92 kB / 3.496 GB, free: 92.26 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.002871/6.99, allocations: 1.598 MB / 3.498 GB, free: 90.61 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/6.99, allocations: 8.031 kB / 3.498 GB, free: 90.61 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001917/6.99, allocations: 198.2 kB / 3.498 GB, free: 90.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/6.992, allocations: 398.1 kB / 3.498 GB, free: 90.01 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/6.995, allocations: 1.16 MB / 3.499 GB, free: 88.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.165e-05/6.995, allocations: 102.6 kB / 3.499 GB, free: 88.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/6.995, allocations: 124 kB / 3.499 GB, free: 88.58 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/6.997, allocations: 1.39 MB / 3.501 GB, free: 87.11 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/6.997, allocations: 4 kB / 3.501 GB, free: 87.11 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/6.998, allocations: 59.98 kB / 3.501 GB, free: 87.05 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/6.998, allocations: 32 kB / 3.501 GB, free: 87.02 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/7, allocations: 1.442 MB / 3.502 GB, free: 85.57 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.006654/7.006, allocations: 4.967 MB / 3.507 GB, free: 80.35 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/7.008, allocations: 1.233 MB / 3.508 GB, free: 79.07 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005389/7.008, allocations: 437.2 kB / 3.509 GB, free: 78.64 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006569/7.009, allocations: 427.2 kB / 3.509 GB, free: 78.15 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008929/7.01, allocations: 0.6034 MB / 3.51 GB, free: 77.53 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=98): time 3.095e-06/7.01, allocations: 4 kB / 3.51 GB, free: 77.53 MB / 0.8698 GB Notification: Performance of matching and sorting (n=98): time 0.002203/7.012, allocations: 1.011 MB / 3.511 GB, free: 76.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/7.012, allocations: 248.1 kB / 3.511 GB, free: 76.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009671/7.013, allocations: 0.7874 MB / 3.512 GB, free: 75.39 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.691e-05/7.013, allocations: 49.64 kB / 3.512 GB, free: 75.34 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004776/7.014, allocations: 0.57 MB / 3.512 GB, free: 74.76 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/7.014, allocations: 335.1 kB / 3.513 GB, free: 74.43 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.241e-05/7.014, allocations: 20 kB / 3.513 GB, free: 74.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/7.014, allocations: 334 kB / 3.513 GB, free: 74.07 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007307/7.015, allocations: 325.9 kB / 3.513 GB, free: 73.76 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009376/7.016, allocations: 0.522 MB / 3.514 GB, free: 73.16 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008572/7.017, allocations: 402.9 kB / 3.514 GB, free: 72.77 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/7.017, allocations: 0 / 3.514 GB, free: 72.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002171/7.019, allocations: 1.059 MB / 3.515 GB, free: 71.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/7.019, allocations: 7.953 kB / 3.515 GB, free: 71.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/7.019, allocations: 4 kB / 3.515 GB, free: 71.69 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005821/7.02, allocations: 93.14 kB / 3.515 GB, free: 71.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009543/7.021, allocations: 231.7 kB / 3.516 GB, free: 71.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/7.023, allocations: 1.532 MB / 3.517 GB, free: 69.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/7.024, allocations: 147 kB / 3.517 GB, free: 69.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.237e-05/7.024, allocations: 39.98 kB / 3.517 GB, free: 69.51 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.0002593/7.024, allocations: 157.5 kB / 3.517 GB, free: 69.35 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/7.024, allocations: 122.5 kB / 3.518 GB, free: 69.23 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/7.027, allocations: 1.306 MB / 3.519 GB, free: 67.91 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/7.027, allocations: 19.94 kB / 3.519 GB, free: 67.89 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/7.027, allocations: 0 / 3.519 GB, free: 67.89 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/7.027, allocations: 3.984 kB / 3.519 GB, free: 67.89 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003882/7.031, allocations: 2.614 MB / 3.521 GB, free: 65.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/7.031, allocations: 3.953 kB / 3.521 GB, free: 65.21 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009132/7.032, allocations: 219.7 kB / 3.522 GB, free: 64.99 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005699/7.033, allocations: 84.78 kB / 3.522 GB, free: 64.91 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-05/7.033, allocations: 31.97 kB / 3.522 GB, free: 64.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/7.034, allocations: 1.556 MB / 3.523 GB, free: 63.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/7.034, allocations: 3.984 kB / 3.523 GB, free: 63.18 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/7.036, allocations: 1.195 MB / 3.524 GB, free: 61.96 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006535/7.037, allocations: 371.2 kB / 3.525 GB, free: 61.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/7.037, allocations: 24 kB / 3.525 GB, free: 61.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009352/7.038, allocations: 99.84 kB / 3.525 GB, free: 61.46 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/7.038, allocations: 72.91 kB / 3.525 GB, free: 61.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-05/7.038, allocations: 55.95 kB / 3.525 GB, free: 61.33 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007813/7.039, allocations: 0.6141 MB / 3.526 GB, free: 60.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.91e-07/7.039, allocations: 0 / 3.526 GB, free: 60.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002095/7.041, allocations: 0.5963 MB / 3.526 GB, free: 60.1 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.007364/7.049, allocations: 3.456 MB / 3.53 GB, free: 56.67 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00286/7.052, allocations: 0.9998 MB / 3.531 GB, free: 55.66 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/7.052, allocations: 4 kB / 3.531 GB, free: 55.66 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/7.053, allocations: 0.6172 MB / 3.531 GB, free: 55.03 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003522/7.057, allocations: 468.8 kB / 3.532 GB, free: 54.57 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008385/7.065, allocations: 2.172 MB / 3.534 GB, free: 52.36 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000884/7.066, allocations: 1.213 MB / 3.535 GB, free: 51.11 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001838/7.068, allocations: 385.1 kB / 3.535 GB, free: 50.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007608/7.069, allocations: 0.5188 MB / 3.536 GB, free: 50.21 MB / 0.8698 GB Notification: Performance of SimCode: time 1.353e-06/7.069, allocations: 4 kB / 3.536 GB, free: 50.21 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6469/7.715, allocations: 56.75 MB / 3.591 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/7.716, allocations: 237.9 kB / 3.591 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.087/11.8, allocations: 0 / 3.591 GB, free: 191.3 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)