Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7589/0.7589, allocations: 128.7 MB / 143.7 MB, free: 2.332 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 184.3 kB / 173.8 MB, free: 6.129 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.892/1.892, allocations: 205.4 MB / 409 MB, free: 10.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 85.8 kB / 486.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003538, allocations: 9.812 kB / 0.5604 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1692, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.723/5.893, allocations: 2.177 GB / 2.812 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003971/5.893, allocations: 98.12 kB / 2.812 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.235/7.128, allocations: 399 MB / 3.202 GB, free: 1.809 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.667e-06/7.128, allocations: 0 / 3.202 GB, free: 1.809 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000108/7.129, allocations: 43.94 kB / 3.202 GB, free: 1.766 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.4771/7.606, allocations: 1.72 MB / 3.204 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/7.606, allocations: 9.5 kB / 3.204 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000922/7.607, allocations: 191.1 kB / 3.204 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004001/7.611, allocations: 0.4926 MB / 3.204 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/7.613, allocations: 0.8131 MB / 3.205 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.381e-05/7.613, allocations: 93.75 kB / 3.205 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/7.613, allocations: 126.9 kB / 3.205 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/7.616, allocations: 1.443 MB / 3.207 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/7.616, allocations: 0 / 3.207 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/7.616, allocations: 62.84 kB / 3.207 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/7.616, allocations: 31.52 kB / 3.207 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003218/7.619, allocations: 1.587 MB / 3.209 GB, free: 119.9 MB / 0.6511 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.007416/7.626, allocations: 4.915 MB / 3.213 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/7.629, allocations: 1.367 MB / 3.215 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/7.63, allocations: 0.7534 MB / 3.215 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/7.632, allocations: 0.679 MB / 3.216 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=98): time 3.406e-06/7.632, allocations: 0 / 3.216 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=98): time 0.004412/7.636, allocations: 1.619 MB / 3.218 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/7.636, allocations: 167 kB / 3.218 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009124/7.637, allocations: 0.7278 MB / 3.219 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.716e-05/7.637, allocations: 49.05 kB / 3.219 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/7.638, allocations: 0.5293 MB / 3.219 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/7.638, allocations: 330.4 kB / 3.219 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/7.638, allocations: 17.47 kB / 3.219 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.503e-05/7.638, allocations: 340.7 kB / 3.22 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008072/7.639, allocations: 382.7 kB / 3.22 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008686/7.64, allocations: 0.5478 MB / 3.221 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008951/7.641, allocations: 475.1 kB / 3.221 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/7.641, allocations: 3.953 kB / 3.221 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002636/7.643, allocations: 1.207 MB / 3.222 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/7.643, allocations: 36.45 kB / 3.222 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/7.643, allocations: 0 / 3.222 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006019/7.644, allocations: 89.94 kB / 3.222 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/7.645, allocations: 233.1 kB / 3.223 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/7.647, allocations: 1.563 MB / 3.224 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/7.648, allocations: 139.4 kB / 3.224 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.885e-05/7.648, allocations: 51.77 kB / 3.224 GB, free: 113.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,senMasFra.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 1 * 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.0007453/7.649, allocations: 320.1 kB / 3.225 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/7.649, allocations: 111.2 kB / 3.225 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/7.653, allocations: 1.374 MB / 3.226 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/7.653, allocations: 14.67 kB / 3.226 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/7.653, allocations: 0 / 3.226 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/7.653, allocations: 4.672 kB / 3.226 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0054/7.658, allocations: 2.6 MB / 3.229 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/7.658, allocations: 0.6094 kB / 3.229 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/7.659, allocations: 212.2 kB / 3.229 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000561/7.66, allocations: 87.95 kB / 3.229 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/7.66, allocations: 30.69 kB / 3.229 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/7.662, allocations: 1.564 MB / 3.23 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/7.662, allocations: 3.438 kB / 3.23 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003498/7.665, allocations: 1.27 MB / 3.232 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/7.666, allocations: 363.2 kB / 3.232 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003271/7.667, allocations: 19.8 kB / 3.232 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/7.668, allocations: 108.2 kB / 3.232 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/7.668, allocations: 66.45 kB / 3.232 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001702/7.668, allocations: 52.77 kB / 3.232 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001065/7.67, allocations: 0.5788 MB / 3.233 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/7.67, allocations: 1.469 kB / 3.233 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002443/7.672, allocations: 0.597 MB / 3.233 GB, free: 111.3 MB / 0.6511 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * 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.007555/7.68, allocations: 3.595 MB / 3.237 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003158/7.683, allocations: 1.163 MB / 3.238 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/7.683, allocations: 448 / 3.238 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001461/7.684, allocations: 0.6584 MB / 3.239 GB, free: 110 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/7.686, allocations: 409.7 kB / 3.239 GB, free: 110 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008614/7.695, allocations: 5.563 MB / 3.245 GB, free: 106.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007931/7.696, allocations: 1.176 MB / 3.246 GB, free: 105.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001763/7.698, allocations: 369.8 kB / 3.246 GB, free: 105.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006959/7.698, allocations: 498.5 kB / 3.247 GB, free: 105.7 MB / 0.6511 GB Notification: Performance of SimCode: time 1.072e-06/7.698, allocations: 0 / 3.247 GB, free: 105.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08794/7.786, allocations: 50.61 MB / 3.296 GB, free: 104 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/7.787, allocations: 260.9 kB / 3.296 GB, free: 103.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.904/11.69, allocations: 2.516 kB / 3.296 GB, free: 103.7 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)