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.00718/0.00718, allocations: 170.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.733/0.733, allocations: 132.3 MB / 148.1 MB, free: 248 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.2 MB / 403.2 MB, free: 6.797 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.001051/0.001051, allocations: 99.45 kB / 485.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 8 kB / 0.5641 GB, free: 2.148 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.514/0.5144, allocations: 81.57 MB / 0.6437 GB, free: 39.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.231/5.745, allocations: 1.869 GB / 2.513 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/5.746, allocations: 99.86 kB / 2.513 GB, free: 134 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.774/7.52, allocations: 409.9 MB / 2.914 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.925e-06/7.52, allocations: 0 / 2.914 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001146/7.52, allocations: 38.08 kB / 2.914 GB, free: 143.5 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.003758/7.524, allocations: 1.779 MB / 2.915 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/7.524, allocations: 11.75 kB / 2.915 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002597/7.526, allocations: 404.8 kB / 2.916 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002912/7.529, allocations: 1.175 MB / 2.917 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.199e-05/7.53, allocations: 95.41 kB / 2.917 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/7.53, allocations: 131.3 kB / 2.917 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/7.532, allocations: 1.435 MB / 2.918 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/7.532, allocations: 5.812 kB / 2.919 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/7.532, allocations: 55.47 kB / 2.919 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/7.532, allocations: 35.38 kB / 2.919 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/7.535, allocations: 1.531 MB / 2.92 GB, free: 142.1 MB / 0.6823 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.007696/7.543, allocations: 4.888 MB / 2.925 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002232/7.545, allocations: 1.474 MB / 2.926 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006546/7.546, allocations: 424.9 kB / 2.927 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/7.547, allocations: 0.6364 MB / 2.927 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 3.336e-06/7.547, allocations: 0 / 2.927 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=98): time 0.004446/7.551, allocations: 1.597 MB / 2.929 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/7.551, allocations: 250.5 kB / 2.929 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/7.553, allocations: 0.8041 MB / 2.93 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/7.553, allocations: 46.55 kB / 2.93 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004581/7.553, allocations: 0.5665 MB / 2.931 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/7.553, allocations: 333.7 kB / 2.931 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/7.553, allocations: 15.69 kB / 2.931 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.47e-05/7.554, allocations: 343.4 kB / 2.931 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006652/7.554, allocations: 363.3 kB / 2.932 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000722/7.555, allocations: 0.5443 MB / 2.932 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007217/7.556, allocations: 441.7 kB / 2.932 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/7.556, allocations: 0 / 2.932 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002437/7.558, allocations: 1.131 MB / 2.934 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/7.558, allocations: 5.531 kB / 2.934 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/7.558, allocations: 3.25 kB / 2.934 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006422/7.559, allocations: 90.97 kB / 2.934 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/7.56, allocations: 230.1 kB / 2.934 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/7.562, allocations: 1.554 MB / 2.935 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/7.563, allocations: 141.7 kB / 2.936 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.884e-05/7.563, allocations: 38.58 kB / 2.936 GB, free: 136.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 () * Number of clocked 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.000747/7.564, allocations: 325.2 kB / 2.936 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/7.564, allocations: 119.6 kB / 2.936 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/7.567, allocations: 1.384 MB / 2.937 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/7.567, allocations: 10.94 kB / 2.937 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/7.567, allocations: 0 / 2.937 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/7.567, allocations: 3.844 kB / 2.937 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005391/7.573, allocations: 2.725 MB / 2.94 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/7.573, allocations: 0 / 2.94 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/7.574, allocations: 221.1 kB / 2.94 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005798/7.574, allocations: 87.41 kB / 2.94 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.013e-05/7.574, allocations: 33.98 kB / 2.94 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/7.576, allocations: 1.571 MB / 2.942 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/7.576, allocations: 3.906 kB / 2.942 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/7.579, allocations: 1.256 MB / 2.943 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007484/7.579, allocations: 378.1 kB / 2.943 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/7.58, allocations: 21.5 kB / 2.943 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009516/7.581, allocations: 99.7 kB / 2.944 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/7.581, allocations: 68.52 kB / 2.944 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.881e-05/7.581, allocations: 55.56 kB / 2.944 GB, free: 134 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008971/7.582, allocations: 0.6387 MB / 2.944 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/7.582, allocations: 1.281 kB / 2.944 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002199/7.584, allocations: 0.6121 MB / 2.945 GB, free: 133.8 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) * Number of clocked states: 0 () * 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.003697/7.588, allocations: 1.902 MB / 2.947 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002385/7.59, allocations: 1.076 MB / 2.948 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/7.59, allocations: 0 / 2.948 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/7.591, allocations: 0.6424 MB / 2.948 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/7.594, allocations: 465.6 kB / 2.949 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005532/7.599, allocations: 2.952 MB / 2.952 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006599/7.6, allocations: 1.21 MB / 2.953 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001624/7.602, allocations: 377.6 kB / 2.953 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/7.602, allocations: 129.8 kB / 2.953 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.784e-06/7.602, allocations: 0 / 2.953 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.05593/7.658, allocations: 38.46 MB / 2.991 GB, free: 129.8 MB / 0.6823 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)