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.001537/0.001537, allocations: 173.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7939/0.7939, allocations: 133.6 MB / 141.6 MB, free: 2.91 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.405/1.405, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.0009671/0.0009669, allocations: 96.83 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.094e-05, allocations: 4 kB / 0.5535 GB, free: 9.051 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4754/0.4754, allocations: 82.3 MB / 0.6338 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.613/5.088, allocations: 1.869 GB / 2.503 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/5.089, allocations: 87.95 kB / 2.503 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.276/6.364, allocations: 404.7 MB / 2.898 GB, free: 31.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.414e-06/6.364, allocations: 0 / 2.898 GB, free: 31.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002205/6.365, allocations: 39.98 kB / 2.898 GB, free: 31.16 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.005354/6.37, allocations: 1.613 MB / 2.9 GB, free: 29.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/6.37, allocations: 11.97 kB / 2.9 GB, free: 29.49 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00329/6.373, allocations: 397.6 kB / 2.9 GB, free: 29.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003796/6.377, allocations: 1.157 MB / 2.901 GB, free: 27.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.158e-05/6.377, allocations: 44 kB / 2.901 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003808/6.378, allocations: 76 kB / 2.901 GB, free: 27.78 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002842/6.381, allocations: 1.375 MB / 2.903 GB, free: 26.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/6.383, allocations: 1.205 MB / 2.904 GB, free: 25.12 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/6.383, allocations: 0 / 2.904 GB, free: 25.12 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/6.384, allocations: 7.984 kB / 2.904 GB, free: 25.11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/6.384, allocations: 32 kB / 2.904 GB, free: 25.08 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.007904/6.392, allocations: 4.622 MB / 2.908 GB, free: 20.24 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/6.393, allocations: 1.338 MB / 2.91 GB, free: 18.83 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005055/6.394, allocations: 403.6 kB / 2.91 GB, free: 18.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006578/6.395, allocations: 425.2 kB / 2.911 GB, free: 17.94 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008106/6.395, allocations: 0.5777 MB / 2.911 GB, free: 17.34 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 4.348e-06/6.395, allocations: 0 / 2.911 GB, free: 17.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=98): time 0.002921/6.398, allocations: 1.039 MB / 2.912 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/6.398, allocations: 248.1 kB / 2.912 GB, free: 16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/6.399, allocations: 0.6173 MB / 2.913 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/6.4, allocations: 29.64 kB / 2.913 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005458/6.4, allocations: 0.5736 MB / 2.914 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/6.4, allocations: 319.2 kB / 2.914 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/6.401, allocations: 0 / 2.914 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.709e-05/6.401, allocations: 341.9 kB / 2.914 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/6.401, allocations: 318.5 kB / 2.914 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/6.402, allocations: 0.4916 MB / 2.915 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/6.403, allocations: 478 kB / 2.915 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/6.403, allocations: 4 kB / 2.915 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0025/6.405, allocations: 1.082 MB / 2.916 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/6.405, allocations: 8.375 kB / 2.916 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/6.405, allocations: 8 kB / 2.916 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/6.406, allocations: 80.78 kB / 2.917 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/6.407, allocations: 239.6 kB / 2.917 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/6.409, allocations: 1.469 MB / 2.918 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/6.41, allocations: 103.3 kB / 2.918 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/6.41, allocations: 43.97 kB / 2.918 GB, free: 9.594 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.0002756/6.41, allocations: 126.3 kB / 2.918 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003073/6.41, allocations: 102.8 kB / 2.919 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003165/6.414, allocations: 1.336 MB / 2.92 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/6.414, allocations: 11.98 kB / 2.92 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/6.414, allocations: 0 / 2.92 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/6.414, allocations: 3.984 kB / 2.92 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005182/6.419, allocations: 2.517 MB / 2.922 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/6.419, allocations: 3.938 kB / 2.922 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009984/6.42, allocations: 219.7 kB / 2.923 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005102/6.42, allocations: 80.78 kB / 2.923 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.479e-05/6.421, allocations: 19.97 kB / 2.923 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/6.422, allocations: 1.492 MB / 2.924 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/6.422, allocations: 0 / 2.924 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/6.425, allocations: 1.216 MB / 2.925 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008208/6.426, allocations: 355.4 kB / 2.926 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003304/6.426, allocations: 15.98 kB / 2.926 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/6.427, allocations: 79.86 kB / 2.926 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/6.428, allocations: 73.2 kB / 2.926 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/6.428, allocations: 43.97 kB / 2.926 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008218/6.429, allocations: 495.1 kB / 2.926 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/6.429, allocations: 4 kB / 2.926 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00238/6.431, allocations: 0.5454 MB / 2.927 GB, free: 0.6523 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.5084/6.939, allocations: 1.999 MB / 2.929 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002755/6.942, allocations: 0.9495 MB / 2.93 GB, free: 142 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/6.942, allocations: 4.531 kB / 2.93 GB, free: 142 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/6.943, allocations: 0.5909 MB / 2.93 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/6.946, allocations: 361.3 kB / 2.931 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006038/6.952, allocations: 1.783 MB / 2.932 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/6.953, allocations: 1.209 MB / 2.934 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00186/6.955, allocations: 367.9 kB / 2.934 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000391/6.955, allocations: 121.7 kB / 2.934 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.743e-06/6.955, allocations: 0 / 2.934 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.05495/7.01, allocations: 27.1 MB / 2.961 GB, free: 140 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)