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: translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7472/0.7472, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 181.3 kB / 187.3 MB, free: 11.87 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.428/1.428, allocations: 221.3 MB / 441.4 MB, free: 4.574 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.0008264/0.0008263, allocations: 95 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001934/0.001934, allocations: 270.2 kB / 0.5939 GB, free: 7.941 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.949e-05/3.951e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4707, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.647/5.117, allocations: 1.867 GB / 2.631 GB, free: 139.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/5.118, allocations: 92.34 kB / 2.631 GB, free: 139.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.229/6.347, allocations: 409.4 MB / 3.031 GB, free: 10.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.267e-06/6.347, allocations: 4 kB / 3.031 GB, free: 10.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001142/6.347, allocations: 36 kB / 3.031 GB, free: 10.34 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.00329/6.35, allocations: 1.625 MB / 3.033 GB, free: 8.664 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/6.35, allocations: 8.031 kB / 3.033 GB, free: 8.656 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002648/6.353, allocations: 398.4 kB / 3.033 GB, free: 8.266 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002768/6.356, allocations: 1.163 MB / 3.034 GB, free: 7.059 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.327e-05/6.356, allocations: 98.62 kB / 3.034 GB, free: 6.961 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/6.356, allocations: 128 kB / 3.035 GB, free: 6.836 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/6.358, allocations: 1.39 MB / 3.036 GB, free: 5.367 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/6.358, allocations: 0 / 3.036 GB, free: 5.367 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/6.358, allocations: 59.98 kB / 3.036 GB, free: 5.309 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/6.358, allocations: 32 kB / 3.036 GB, free: 5.277 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/6.36, allocations: 1.45 MB / 3.037 GB, free: 3.82 MB / 0.698 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.4826/6.843, allocations: 4.885 MB / 3.042 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002646/6.846, allocations: 1.397 MB / 3.044 GB, free: 142.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008184/6.847, allocations: 441.9 kB / 3.044 GB, free: 142.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007512/6.847, allocations: 422.6 kB / 3.044 GB, free: 141.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001233/6.849, allocations: 0.6032 MB / 3.045 GB, free: 141.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=98): time 3.967e-06/6.849, allocations: 0 / 3.045 GB, free: 141.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=98): time 0.003094/6.852, allocations: 1.011 MB / 3.046 GB, free: 141.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/6.852, allocations: 249.3 kB / 3.046 GB, free: 141.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/6.854, allocations: 0.7956 MB / 3.047 GB, free: 141.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/6.854, allocations: 46.64 kB / 3.047 GB, free: 141.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006622/6.854, allocations: 0.5677 MB / 3.048 GB, free: 141 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000389/6.855, allocations: 326.9 kB / 3.048 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/6.855, allocations: 17.78 kB / 3.048 GB, free: 140.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001445/6.855, allocations: 344.5 kB / 3.048 GB, free: 140.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000808/6.856, allocations: 327.2 kB / 3.049 GB, free: 140.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009792/6.857, allocations: 0.5152 MB / 3.049 GB, free: 140.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008019/6.858, allocations: 412.7 kB / 3.049 GB, free: 140.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/6.858, allocations: 3.844 kB / 3.049 GB, free: 140.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00296/6.861, allocations: 1.068 MB / 3.05 GB, free: 140.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/6.861, allocations: 8.219 kB / 3.05 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/6.861, allocations: 3.375 kB / 3.05 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006572/6.861, allocations: 88.55 kB / 3.051 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/6.862, allocations: 233.1 kB / 3.051 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/6.864, allocations: 1.533 MB / 3.052 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/6.866, allocations: 142.6 kB / 3.052 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.636e-05/6.866, allocations: 37.08 kB / 3.052 GB, free: 138.9 MB / 0.698 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.0003944/6.867, allocations: 171.8 kB / 3.053 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/6.867, allocations: 112.4 kB / 3.053 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003118/6.87, allocations: 1.314 MB / 3.054 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/6.87, allocations: 11.66 kB / 3.054 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/6.87, allocations: 0.75 kB / 3.054 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.067e-05/6.87, allocations: 9.344 kB / 3.054 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005735/6.876, allocations: 2.663 MB / 3.057 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/6.876, allocations: 0 / 3.057 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/6.877, allocations: 214.9 kB / 3.057 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005296/6.877, allocations: 93.83 kB / 3.057 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.632e-05/6.878, allocations: 25.62 kB / 3.057 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/6.879, allocations: 1.559 MB / 3.058 GB, free: 137 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/6.879, allocations: 3.656 kB / 3.058 GB, free: 137 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/6.881, allocations: 1.195 MB / 3.06 GB, free: 136.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007778/6.882, allocations: 367.2 kB / 3.06 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002719/6.882, allocations: 24.34 kB / 3.06 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/6.883, allocations: 107.4 kB / 3.06 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/6.884, allocations: 75.98 kB / 3.06 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/6.884, allocations: 45.42 kB / 3.06 GB, free: 136.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001236/6.885, allocations: 0.6266 MB / 3.061 GB, free: 136.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/6.885, allocations: 2.156 kB / 3.061 GB, free: 136.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002806/6.888, allocations: 0.6152 MB / 3.061 GB, free: 136.4 MB / 0.698 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.005418/6.893, allocations: 1.868 MB / 3.063 GB, free: 136 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00299/6.896, allocations: 0.9971 MB / 3.064 GB, free: 135.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/6.896, allocations: 5.75 kB / 3.064 GB, free: 135.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/6.898, allocations: 0.6138 MB / 3.065 GB, free: 135.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/6.901, allocations: 458.7 kB / 3.065 GB, free: 135.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005062/6.906, allocations: 1.842 MB / 3.067 GB, free: 135.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008357/6.907, allocations: 1.205 MB / 3.068 GB, free: 134.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001831/6.908, allocations: 390.2 kB / 3.069 GB, free: 134.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/6.909, allocations: 130.2 kB / 3.069 GB, free: 134.6 MB / 0.698 GB Notification: Performance of SimCode: time 8.82e-07/6.909, allocations: 0 / 3.069 GB, free: 134.6 MB / 0.698 GB Notification: Performance of Templates: time 0.0611/6.97, allocations: 42.13 MB / 3.11 GB, free: 133.2 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)