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.005758/0.005758, allocations: 172.4 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7619/0.7619, allocations: 135.2 MB / 151.1 MB, free: 13.79 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.569/1.569, allocations: 223.2 MB / 406.9 MB, free: 3.238 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.0009943/0.0009943, allocations: 95.97 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004607, allocations: 12 kB / 0.5691 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4975/0.498, allocations: 82.29 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.092/5.59, allocations: 1.87 GB / 2.519 GB, free: 67.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003823/5.59, allocations: 96.5 kB / 2.519 GB, free: 67.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.723/7.313, allocations: 409.9 MB / 2.92 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/7.313, allocations: 0 / 2.92 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001279/7.313, allocations: 39.69 kB / 2.92 GB, free: 145.1 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.003835/7.317, allocations: 1.779 MB / 2.921 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/7.317, allocations: 7.469 kB / 2.921 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002606/7.32, allocations: 397.3 kB / 2.922 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/7.323, allocations: 1.181 MB / 2.923 GB, free: 144 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.933e-05/7.323, allocations: 98.78 kB / 2.923 GB, free: 144 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/7.323, allocations: 129.8 kB / 2.923 GB, free: 144 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/7.325, allocations: 1.431 MB / 2.924 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/7.325, allocations: 10.23 kB / 2.924 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/7.326, allocations: 54.19 kB / 2.925 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.558e-05/7.326, allocations: 36.17 kB / 2.925 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/7.328, allocations: 1.535 MB / 2.926 GB, free: 143.7 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.007428/7.335, allocations: 4.883 MB / 2.931 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/7.338, allocations: 1.468 MB / 2.932 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006553/7.338, allocations: 430.1 kB / 2.933 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/7.34, allocations: 0.6303 MB / 2.933 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 3.667e-06/7.34, allocations: 0 / 2.933 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=98): time 0.003986/7.344, allocations: 1.596 MB / 2.935 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.393e-05/7.344, allocations: 246.6 kB / 2.935 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/7.345, allocations: 0.7994 MB / 2.936 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/7.345, allocations: 47.08 kB / 2.936 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005185/7.345, allocations: 0.5704 MB / 2.936 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/7.346, allocations: 323.2 kB / 2.937 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/7.346, allocations: 23.59 kB / 2.937 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/7.346, allocations: 338.6 kB / 2.937 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006254/7.347, allocations: 363.2 kB / 2.937 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007514/7.347, allocations: 0.5492 MB / 2.938 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/7.348, allocations: 439.8 kB / 2.938 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/7.348, allocations: 0 / 2.938 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002426/7.351, allocations: 1.132 MB / 2.94 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/7.351, allocations: 6.281 kB / 2.94 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/7.351, allocations: 11.53 kB / 2.94 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/7.351, allocations: 83.7 kB / 2.94 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/7.352, allocations: 230.1 kB / 2.94 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/7.354, allocations: 1.562 MB / 2.941 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/7.355, allocations: 139 kB / 2.941 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.439e-05/7.355, allocations: 40.78 kB / 2.942 GB, free: 137.7 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.0008185/7.356, allocations: 329.3 kB / 2.942 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/7.357, allocations: 121.8 kB / 2.942 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/7.359, allocations: 1.386 MB / 2.943 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/7.359, allocations: 10.22 kB / 2.943 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/7.359, allocations: 0 / 2.943 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/7.359, allocations: 6.797 kB / 2.943 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004649/7.364, allocations: 2.719 MB / 2.946 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/7.364, allocations: 0 / 2.946 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009376/7.365, allocations: 217.2 kB / 2.946 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005236/7.366, allocations: 91.78 kB / 2.946 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-05/7.366, allocations: 25.09 kB / 2.946 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/7.367, allocations: 1.585 MB / 2.948 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/7.367, allocations: 0 / 2.948 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/7.37, allocations: 1.257 MB / 2.949 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007528/7.371, allocations: 372.3 kB / 2.949 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/7.371, allocations: 29.72 kB / 2.949 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009167/7.372, allocations: 95.42 kB / 2.95 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/7.372, allocations: 82.97 kB / 2.95 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.666e-05/7.372, allocations: 46.36 kB / 2.95 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009043/7.373, allocations: 0.6348 MB / 2.95 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/7.373, allocations: 3.391 kB / 2.95 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002197/7.375, allocations: 0.612 MB / 2.951 GB, free: 135.2 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.003544/7.379, allocations: 1.891 MB / 2.953 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002203/7.381, allocations: 1.072 MB / 2.954 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/7.381, allocations: 0.9375 kB / 2.954 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/7.382, allocations: 0.651 MB / 2.954 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/7.384, allocations: 459.4 kB / 2.955 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005561/7.39, allocations: 2.956 MB / 2.958 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000694/7.391, allocations: 1.211 MB / 2.959 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001782/7.392, allocations: 378.6 kB / 2.959 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/7.393, allocations: 132 kB / 2.959 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.323e-06/7.393, allocations: 1.219 kB / 2.959 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.0618/7.455, allocations: 38.45 MB / 2.997 GB, free: 105.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)