Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00225/0.00225, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7867/0.7867, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 221.3 MB / 400.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009291/0.0009289, allocations: 98.34 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.601e-05, allocations: 3.188 kB / 0.56 GB, free: 87.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1425, allocations: 82.31 MB / 0.6404 GB, free: 7.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.564/4.706, allocations: 1.87 GB / 2.51 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/4.707, allocations: 85.7 kB / 2.51 GB, free: 25.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.99/6.696, allocations: 409.4 MB / 2.91 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.888e-06/6.697, allocations: 0 / 2.91 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002515/6.697, allocations: 40.14 kB / 2.91 GB, free: 149.7 MB / 0.6823 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.006941/6.704, allocations: 1.613 MB / 2.911 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.651e-05/6.704, allocations: 14.53 kB / 2.911 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005093/6.709, allocations: 402.5 kB / 2.912 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005638/6.715, allocations: 1.156 MB / 2.913 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/6.715, allocations: 98.81 kB / 2.913 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003591/6.715, allocations: 130.8 kB / 2.913 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003733/6.719, allocations: 1.388 MB / 2.915 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.067e-05/6.719, allocations: 7.891 kB / 2.915 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001955/6.719, allocations: 61.66 kB / 2.915 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.688e-05/6.719, allocations: 31 kB / 2.915 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00359/6.723, allocations: 1.449 MB / 2.916 GB, free: 146.1 MB / 0.6823 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.01232/6.735, allocations: 4.887 MB / 2.921 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003377/6.739, allocations: 1.392 MB / 2.922 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/6.74, allocations: 433.2 kB / 2.923 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/6.741, allocations: 427.4 kB / 2.923 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001616/6.743, allocations: 0.609 MB / 2.924 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 6.321e-06/6.743, allocations: 0 / 2.924 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=98): time 0.004265/6.747, allocations: 1.015 MB / 2.925 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/6.747, allocations: 242.8 kB / 2.925 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/6.75, allocations: 0.7977 MB / 2.926 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002514/6.75, allocations: 53.33 kB / 2.926 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007541/6.751, allocations: 0.5699 MB / 2.926 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000466/6.751, allocations: 330.8 kB / 2.927 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.519e-05/6.751, allocations: 16 kB / 2.927 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001199/6.751, allocations: 338 kB / 2.927 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009556/6.752, allocations: 329.9 kB / 2.927 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/6.754, allocations: 0.5271 MB / 2.928 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/6.755, allocations: 399.9 kB / 2.928 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/6.755, allocations: 3.188 kB / 2.928 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003759/6.759, allocations: 1.07 MB / 2.929 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/6.759, allocations: 8 kB / 2.929 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/6.759, allocations: 7.984 kB / 2.929 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000949/6.76, allocations: 88.45 kB / 2.929 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/6.761, allocations: 234.2 kB / 2.929 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002839/6.764, allocations: 1.526 MB / 2.931 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/6.766, allocations: 136.5 kB / 2.931 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/6.766, allocations: 39.97 kB / 2.931 GB, free: 133.3 MB / 0.6823 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.0004433/6.767, allocations: 168 kB / 2.931 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006356/6.768, allocations: 118.6 kB / 2.931 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005087/6.773, allocations: 1.322 MB / 2.933 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/6.773, allocations: 12 kB / 2.933 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/6.773, allocations: 3.953 kB / 2.933 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.157e-05/6.773, allocations: 7.969 kB / 2.933 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009215/6.782, allocations: 2.664 MB / 2.935 GB, free: 129 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/6.782, allocations: 0 / 2.935 GB, free: 129 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/6.784, allocations: 219.8 kB / 2.936 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008025/6.785, allocations: 86.73 kB / 2.936 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/6.785, allocations: 27.98 kB / 2.936 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002528/6.787, allocations: 1.556 MB / 2.937 GB, free: 127 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/6.787, allocations: 0 / 2.937 GB, free: 127 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003622/6.791, allocations: 1.206 MB / 2.938 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/6.792, allocations: 363.2 kB / 2.939 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004972/6.793, allocations: 23.95 kB / 2.939 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001982/6.795, allocations: 107.4 kB / 2.939 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/6.795, allocations: 76.48 kB / 2.939 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002132/6.795, allocations: 43.97 kB / 2.939 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001885/6.797, allocations: 0.626 MB / 2.94 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.01e-07/6.797, allocations: 0 / 2.94 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00366/6.801, allocations: 0.6147 MB / 2.94 GB, free: 123.9 MB / 0.6823 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.006041/6.807, allocations: 1.864 MB / 2.942 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003574/6.811, allocations: 1.01 MB / 2.943 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/6.811, allocations: 3.281 kB / 2.943 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001816/6.813, allocations: 0.6134 MB / 2.944 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004406/6.817, allocations: 455.8 kB / 2.944 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008648/6.826, allocations: 1.841 MB / 2.946 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/6.827, allocations: 1.21 MB / 2.947 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003741/6.831, allocations: 376.9 kB / 2.947 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009541/6.832, allocations: 131.4 kB / 2.947 GB, free: 117 MB / 0.6823 GB Notification: Performance of SimCode: time 2.565e-06/6.832, allocations: 0 / 2.947 GB, free: 117 MB / 0.6823 GB Notification: Performance of Templates: time 0.1027/6.935, allocations: 42.09 MB / 2.989 GB, free: 75.5 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)