Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.479/0.479, allocations: 90.81 MB / 104.5 MB, free: 9.781 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 221.3 MB / 348.3 MB, free: 444 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008648/0.0008647, allocations: 97.92 kB / 421.2 MB, free: 5.445 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.647e-05/2.65e-05, allocations: 4 kB / 0.4897 GB, free: 5.242 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3301, allocations: 72.31 MB / 0.5603 GB, free: 40.4 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.675/4.005, allocations: 1.86 GB / 2.42 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/4.005, allocations: 87.95 kB / 2.42 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.502/5.507, allocations: 409.4 MB / 2.82 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.764e-06/5.508, allocations: 0 / 2.82 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001512/5.508, allocations: 44.98 kB / 2.82 GB, free: 113.6 MB / 0.6042 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.004054/5.512, allocations: 1.619 MB / 2.822 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/5.512, allocations: 12.7 kB / 2.822 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005482/5.512, allocations: 193.1 kB / 2.822 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003133/5.515, allocations: 405.5 kB / 2.822 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003392/5.519, allocations: 1.156 MB / 2.824 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.76e-05/5.519, allocations: 98.47 kB / 2.824 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000293/5.519, allocations: 127.7 kB / 2.824 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/5.522, allocations: 1.387 MB / 2.825 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/5.522, allocations: 9.297 kB / 2.825 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/5.522, allocations: 58.84 kB / 2.825 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/5.522, allocations: 32.67 kB / 2.825 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002769/5.525, allocations: 1.458 MB / 2.827 GB, free: 112.2 MB / 0.6042 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.006851/5.532, allocations: 4.884 MB / 2.831 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/5.534, allocations: 1.398 MB / 2.833 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006065/5.535, allocations: 439.5 kB / 2.833 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006332/5.535, allocations: 422.8 kB / 2.834 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000881/5.536, allocations: 0.5983 MB / 2.834 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=98): time 5.44e-06/5.536, allocations: 3.047 kB / 2.834 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=98): time 0.002385/5.539, allocations: 1.012 MB / 2.835 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/5.539, allocations: 250.9 kB / 2.835 GB, free: 109 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/5.54, allocations: 0.7944 MB / 2.836 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/5.54, allocations: 44.98 kB / 2.836 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004214/5.54, allocations: 0.5701 MB / 2.837 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/5.541, allocations: 326.6 kB / 2.837 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/5.541, allocations: 23.78 kB / 2.837 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.494e-05/5.541, allocations: 341.9 kB / 2.837 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004557/5.541, allocations: 326.6 kB / 2.838 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/5.542, allocations: 0.5227 MB / 2.838 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005955/5.542, allocations: 405.6 kB / 2.839 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/5.543, allocations: 0 / 2.839 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00198/5.544, allocations: 1.068 MB / 2.84 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/5.545, allocations: 7.734 kB / 2.84 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/5.545, allocations: 7.062 kB / 2.84 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005566/5.545, allocations: 87.25 kB / 2.84 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009514/5.546, allocations: 228.1 kB / 2.84 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/5.548, allocations: 1.542 MB / 2.842 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/5.549, allocations: 139.7 kB / 2.842 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.962e-05/5.549, allocations: 40.28 kB / 2.842 GB, free: 106.5 MB / 0.6042 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.0002359/5.549, allocations: 168.3 kB / 2.842 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/5.549, allocations: 115.2 kB / 2.842 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/5.552, allocations: 1.312 MB / 2.843 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/5.552, allocations: 14.09 kB / 2.843 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/5.552, allocations: 5.922 kB / 2.843 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/5.552, allocations: 3.703 kB / 2.843 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004266/5.556, allocations: 2.665 MB / 2.846 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/5.556, allocations: 0 / 2.846 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008962/5.557, allocations: 209.4 kB / 2.846 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004774/5.558, allocations: 93.08 kB / 2.846 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.858e-05/5.558, allocations: 34.56 kB / 2.846 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/5.559, allocations: 1.554 MB / 2.848 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/5.559, allocations: 0 / 2.848 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/5.561, allocations: 1.193 MB / 2.849 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007048/5.562, allocations: 370.8 kB / 2.849 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/5.562, allocations: 27.77 kB / 2.849 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/5.563, allocations: 104.2 kB / 2.849 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/5.564, allocations: 73.39 kB / 2.849 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/5.564, allocations: 49.61 kB / 2.849 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008315/5.564, allocations: 0.6234 MB / 2.85 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/5.564, allocations: 0 / 2.85 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001928/5.566, allocations: 0.6097 MB / 2.851 GB, free: 104 MB / 0.6042 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.005316/5.572, allocations: 3.519 MB / 2.854 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001652/5.573, allocations: 1.01 MB / 2.855 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/5.573, allocations: 0 / 2.855 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009901/5.574, allocations: 0.6153 MB / 2.856 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/5.577, allocations: 454.9 kB / 2.856 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006644/5.584, allocations: 2.168 MB / 2.858 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007586/5.585, allocations: 1.203 MB / 2.859 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001535/5.586, allocations: 379.1 kB / 2.86 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007819/5.587, allocations: 0.5268 MB / 2.86 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of SimCode: time 9.71e-07/5.587, allocations: 0 / 2.86 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08762/5.675, allocations: 57.37 MB / 2.916 GB, free: 97.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/5.675, allocations: 231.9 kB / 2.917 GB, free: 97.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.759/9.433, allocations: 0 / 2.917 GB, free: 97.66 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)