Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.083/1.083, allocations: 143.3 MB / 158.3 MB, free: 5.758 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 183.7 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.767/1.767, allocations: 223.2 MB / 447.7 MB, free: 4.855 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 98.2 kB / 0.5187 GB, free: 1.219 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001913/0.001913, allocations: 278.4 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007197/0.00072, allocations: 16.66 kB / 0.6929 GB, free: 59.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2243, allocations: 82.8 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.034/5.258, allocations: 1.867 GB / 2.641 GB, free: 209.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/5.259, allocations: 97.14 kB / 2.641 GB, free: 209.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.298/6.557, allocations: 410 MB / 3.041 GB, free: 85.01 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.026e-06/6.557, allocations: 0 / 3.041 GB, free: 85.01 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001361/6.557, allocations: 39.94 kB / 3.041 GB, free: 84.97 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003954/6.561, allocations: 1.786 MB / 3.043 GB, free: 83.15 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/6.561, allocations: 8.031 kB / 3.043 GB, free: 83.14 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002453/6.561, allocations: 198.3 kB / 3.043 GB, free: 82.94 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/6.564, allocations: 399.4 kB / 3.044 GB, free: 82.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/6.567, allocations: 1.164 MB / 3.045 GB, free: 81.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.316e-05/6.567, allocations: 102.9 kB / 3.045 GB, free: 81.24 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/6.567, allocations: 136 kB / 3.045 GB, free: 81.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/6.57, allocations: 1.442 MB / 3.046 GB, free: 79.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/6.57, allocations: 3.938 kB / 3.046 GB, free: 79.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/6.57, allocations: 60 kB / 3.047 GB, free: 79.53 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/6.57, allocations: 32 kB / 3.047 GB, free: 79.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/6.572, allocations: 1.528 MB / 3.048 GB, free: 77.96 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.006982/6.579, allocations: 4.885 MB / 3.053 GB, free: 72.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/6.581, allocations: 1.47 MB / 3.054 GB, free: 71.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006698/6.582, allocations: 425.4 kB / 3.055 GB, free: 70.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/6.583, allocations: 0.6333 MB / 3.055 GB, free: 70.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 5.29e-06/6.583, allocations: 0 / 3.055 GB, free: 70.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.004175/6.587, allocations: 1.591 MB / 3.057 GB, free: 68.54 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.326e-05/6.587, allocations: 240.3 kB / 3.057 GB, free: 68.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/6.589, allocations: 0.8146 MB / 3.058 GB, free: 67.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/6.589, allocations: 49.69 kB / 3.058 GB, free: 67.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005745/6.59, allocations: 0.5623 MB / 3.058 GB, free: 66.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/6.59, allocations: 327.1 kB / 3.059 GB, free: 66.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/6.59, allocations: 20 kB / 3.059 GB, free: 66.45 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001059/6.59, allocations: 345.9 kB / 3.059 GB, free: 66.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006551/6.591, allocations: 361.8 kB / 3.059 GB, free: 65.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007879/6.592, allocations: 0.5492 MB / 3.06 GB, free: 65.13 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007729/6.592, allocations: 435.3 kB / 3.06 GB, free: 64.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/6.593, allocations: 0 / 3.06 GB, free: 64.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002627/6.595, allocations: 1.133 MB / 3.061 GB, free: 63.56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/6.595, allocations: 7.984 kB / 3.062 GB, free: 63.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/6.595, allocations: 4 kB / 3.062 GB, free: 63.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006595/6.596, allocations: 85.16 kB / 3.062 GB, free: 63.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/6.597, allocations: 223.7 kB / 3.062 GB, free: 63.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/6.599, allocations: 1.564 MB / 3.063 GB, free: 61.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/6.6, allocations: 142.9 kB / 3.063 GB, free: 61.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/6.601, allocations: 39.97 kB / 3.064 GB, free: 61.36 MB / 0.7136 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 () * Number of clocked 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.0009858/6.602, allocations: 329.5 kB / 3.064 GB, free: 61.03 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004446/6.602, allocations: 114.7 kB / 3.064 GB, free: 60.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003547/6.606, allocations: 1.388 MB / 3.065 GB, free: 59.51 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/6.606, allocations: 12 kB / 3.065 GB, free: 59.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/6.606, allocations: 96 / 3.065 GB, free: 59.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/6.606, allocations: 7.969 kB / 3.065 GB, free: 59.49 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005895/6.612, allocations: 2.738 MB / 3.068 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/6.612, allocations: 0 / 3.068 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/6.613, allocations: 215.8 kB / 3.068 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005632/6.613, allocations: 88.7 kB / 3.068 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/6.613, allocations: 27.97 kB / 3.068 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/6.615, allocations: 1.571 MB / 3.07 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/6.615, allocations: 0 / 3.07 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002792/6.618, allocations: 1.254 MB / 3.071 GB, free: 53.38 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/6.619, allocations: 375.2 kB / 3.071 GB, free: 53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003927/6.62, allocations: 20 kB / 3.071 GB, free: 52.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/6.621, allocations: 107.8 kB / 3.072 GB, free: 52.87 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/6.621, allocations: 68.89 kB / 3.072 GB, free: 52.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/6.621, allocations: 52.03 kB / 3.072 GB, free: 52.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001237/6.622, allocations: 0.6412 MB / 3.072 GB, free: 52.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.3e-07/6.622, allocations: 0 / 3.072 GB, free: 52.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002595/6.625, allocations: 0.612 MB / 3.073 GB, free: 51.48 MB / 0.7136 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) * 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.007131/6.632, allocations: 3.63 MB / 3.076 GB, free: 47.97 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002359/6.635, allocations: 1.066 MB / 3.077 GB, free: 46.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/6.635, allocations: 8 kB / 3.077 GB, free: 46.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/6.636, allocations: 0.6446 MB / 3.078 GB, free: 46.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/6.639, allocations: 449.5 kB / 3.079 GB, free: 45.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/6.658, allocations: 8.991 MB / 3.087 GB, free: 36.51 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/6.659, allocations: 1.212 MB / 3.088 GB, free: 35.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001832/6.661, allocations: 381.2 kB / 3.089 GB, free: 34.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009046/6.662, allocations: 0.5227 MB / 3.089 GB, free: 34.38 MB / 0.7136 GB Notification: Performance of SimCode: time 1.253e-06/6.662, allocations: 0 / 3.089 GB, free: 34.38 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6058/7.268, allocations: 53.7 MB / 3.142 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002726/7.268, allocations: 279.8 kB / 3.142 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.391/11.66, allocations: 0.7812 kB / 3.142 GB, free: 146.8 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)