Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001095/0.001095, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7719/0.7719, allocations: 130.7 MB / 138.7 MB, free: 3.645 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 221.5 MB / 391.8 MB, free: 14.25 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.0009418/0.0009418, allocations: 91.7 kB / 473.9 MB, free: 4.492 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.105e-05, allocations: 4 kB / 0.5485 GB, free: 13.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5164/0.5165, allocations: 81.57 MB / 0.6282 GB, free: 42.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.45/4.966, allocations: 1.869 GB / 2.497 GB, free: 82.56 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/4.967, allocations: 87.58 kB / 2.497 GB, free: 82.48 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.741/6.708, allocations: 404.7 MB / 2.892 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.134e-06/6.708, allocations: 0 / 2.892 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001814/6.708, allocations: 38.41 kB / 2.892 GB, free: 140 MB / 0.6667 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.004566/6.713, allocations: 1.617 MB / 2.894 GB, free: 139.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/6.713, allocations: 12.66 kB / 2.894 GB, free: 139.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002903/6.716, allocations: 399.8 kB / 2.894 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/6.719, allocations: 1.159 MB / 2.895 GB, free: 138.9 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.021e-05/6.719, allocations: 43.88 kB / 2.895 GB, free: 138.9 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002877/6.719, allocations: 76.53 kB / 2.895 GB, free: 138.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002811/6.722, allocations: 1.37 MB / 2.897 GB, free: 138.9 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/6.724, allocations: 1.2 MB / 2.898 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/6.724, allocations: 6.672 kB / 2.898 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/6.725, allocations: 6.156 kB / 2.898 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/6.725, allocations: 36.23 kB / 2.898 GB, free: 138.7 MB / 0.6667 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.00835/6.733, allocations: 4.62 MB / 2.903 GB, free: 136.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/6.735, allocations: 1.34 MB / 2.904 GB, free: 136.4 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006271/6.736, allocations: 405.8 kB / 2.904 GB, free: 136.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006923/6.736, allocations: 430.8 kB / 2.905 GB, free: 136 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009155/6.737, allocations: 0.5746 MB / 2.905 GB, free: 135.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=98): time 4.779e-06/6.737, allocations: 0 / 2.905 GB, free: 135.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=98): time 0.003011/6.74, allocations: 1.048 MB / 2.906 GB, free: 135.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.853e-05/6.74, allocations: 247.1 kB / 2.906 GB, free: 135.5 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/6.742, allocations: 0.6114 MB / 2.907 GB, free: 135.4 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/6.742, allocations: 29.52 kB / 2.907 GB, free: 135.4 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006849/6.743, allocations: 0.5807 MB / 2.908 GB, free: 135.1 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/6.743, allocations: 309.2 kB / 2.908 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/6.743, allocations: 3.062 kB / 2.908 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001281/6.743, allocations: 342.6 kB / 2.908 GB, free: 134.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005037/6.744, allocations: 313 kB / 2.909 GB, free: 134.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/6.744, allocations: 0.4935 MB / 2.909 GB, free: 134.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/6.745, allocations: 479.4 kB / 2.909 GB, free: 134.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/6.746, allocations: 3.688 kB / 2.909 GB, free: 134.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002701/6.748, allocations: 1.09 MB / 2.911 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/6.748, allocations: 6.312 kB / 2.911 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/6.748, allocations: 6.469 kB / 2.911 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000592/6.749, allocations: 82.03 kB / 2.911 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/6.75, allocations: 232.8 kB / 2.911 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/6.752, allocations: 1.467 MB / 2.912 GB, free: 133 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/6.753, allocations: 105.9 kB / 2.912 GB, free: 133 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/6.753, allocations: 40.5 kB / 2.912 GB, free: 133 MB / 0.6667 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.0003051/6.753, allocations: 126.9 kB / 2.913 GB, free: 132.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000362/6.754, allocations: 105.1 kB / 2.913 GB, free: 132.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/6.757, allocations: 1.326 MB / 2.914 GB, free: 132.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/6.757, allocations: 11.5 kB / 2.914 GB, free: 132.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/6.757, allocations: 2.688 kB / 2.914 GB, free: 132.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/6.757, allocations: 8.812 kB / 2.914 GB, free: 132.7 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00482/6.762, allocations: 2.516 MB / 2.916 GB, free: 132.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/6.762, allocations: 5.219 kB / 2.916 GB, free: 132.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009432/6.763, allocations: 210.3 kB / 2.917 GB, free: 132.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005032/6.763, allocations: 86.56 kB / 2.917 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.462e-05/6.763, allocations: 17.47 kB / 2.917 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/6.765, allocations: 1.5 MB / 2.918 GB, free: 131.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/6.765, allocations: 0 / 2.918 GB, free: 131.1 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/6.768, allocations: 1.221 MB / 2.919 GB, free: 130.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000709/6.768, allocations: 348.8 kB / 2.92 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/6.768, allocations: 0 / 2.92 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/6.77, allocations: 89.62 kB / 2.92 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/6.77, allocations: 69.14 kB / 2.92 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/6.77, allocations: 50.23 kB / 2.92 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007755/6.771, allocations: 491.9 kB / 2.92 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.41e-07/6.771, allocations: 0 / 2.92 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00217/6.773, allocations: 0.5566 MB / 2.921 GB, free: 130.5 MB / 0.6667 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.003821/6.777, allocations: 2.012 MB / 2.923 GB, free: 130 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002168/6.779, allocations: 0.9492 MB / 2.924 GB, free: 129.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/6.779, allocations: 0 / 2.924 GB, free: 129.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/6.78, allocations: 0.5948 MB / 2.924 GB, free: 129.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/6.782, allocations: 358 kB / 2.925 GB, free: 129.8 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005696/6.788, allocations: 1.785 MB / 2.926 GB, free: 129.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/6.789, allocations: 1.203 MB / 2.928 GB, free: 128.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001793/6.791, allocations: 366.9 kB / 2.928 GB, free: 128.6 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004557/6.791, allocations: 118.4 kB / 2.928 GB, free: 128.6 MB / 0.6667 GB Notification: Performance of SimCode: time 1.082e-06/6.791, allocations: 0 / 2.928 GB, free: 128.6 MB / 0.6667 GB Notification: Performance of Templates: time 0.04613/6.838, allocations: 27.1 MB / 2.955 GB, free: 119 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)