Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.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.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00843/0.00843, allocations: 169.5 kB / 15.11 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.7585/0.7585, 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.549/1.549, allocations: 223.2 MB / 406.9 MB, free: 3.203 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.001078/0.001078, allocations: 98.02 kB / 490 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003947, allocations: 12 kB / 0.5691 GB, free: 14.12 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4308, allocations: 82.29 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.216/5.647, allocations: 1.943 GB / 2.592 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/5.648, allocations: 91.83 kB / 2.592 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.085/13.73, allocations: 2.065 GB / 4.657 GB, free: 55.39 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.836e-06/13.73, allocations: 0 / 4.657 GB, free: 55.39 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0004336/13.73, allocations: 102.6 kB / 4.658 GB, free: 55.38 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.01773/13.75, allocations: 3.974 MB / 4.661 GB, free: 53.43 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/13.75, allocations: 7.75 kB / 4.661 GB, free: 53.43 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007513/13.76, allocations: 0.924 MB / 4.662 GB, free: 53.23 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01093/13.77, allocations: 2.904 MB / 4.665 GB, free: 52.56 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004086/13.77, allocations: 289.3 kB / 4.665 GB, free: 52.48 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001518/13.77, allocations: 298.1 kB / 4.666 GB, free: 52.48 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/13.78, allocations: 3.194 MB / 4.669 GB, free: 52.21 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001629/13.78, allocations: 3.469 kB / 4.669 GB, free: 52.21 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009971/13.78, allocations: 115.6 kB / 4.669 GB, free: 52.21 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/13.78, allocations: 104.4 kB / 4.669 GB, free: 52.21 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00751/13.79, allocations: 2.634 MB / 4.672 GB, free: 52.16 MB / 0.7605 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.02672/13.82, allocations: 13.19 MB / 4.684 GB, free: 44.82 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003266/13.82, allocations: 1.791 MB / 4.686 GB, free: 44.75 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/13.82, allocations: 330.5 kB / 4.687 GB, free: 44.47 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.52e-05/13.82, allocations: 61.38 kB / 4.687 GB, free: 44.43 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=182): time 3.847e-06/13.82, allocations: 0 / 4.687 GB, free: 44.43 MB / 0.7605 GB Notification: Performance of matching and sorting (n=182): time 0.00636/13.83, allocations: 2.678 MB / 4.689 GB, free: 44.21 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/13.83, allocations: 76.06 kB / 4.689 GB, free: 44.14 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004453/13.83, allocations: 1.71 MB / 4.691 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004635/13.83, allocations: 70.27 kB / 4.691 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001429/13.83, allocations: 1.416 MB / 4.692 GB, free: 43.36 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009409/13.84, allocations: 0.6438 MB / 4.693 GB, free: 42.95 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/13.84, allocations: 43.19 kB / 4.693 GB, free: 42.95 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002205/13.84, allocations: 383.1 kB / 4.693 GB, free: 42.64 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/13.84, allocations: 0.7737 MB / 4.694 GB, free: 42.63 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/13.84, allocations: 1.464 MB / 4.696 GB, free: 41.86 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/13.84, allocations: 1.046 MB / 4.697 GB, free: 41.81 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/13.84, allocations: 3.219 kB / 4.697 GB, free: 41.81 MB / 0.7605 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004643/13.85, allocations: 2.455 MB / 4.699 GB, free: 41.24 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001384/13.85, allocations: 5.526 MB / 4.704 GB, free: 35.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.659e-05/13.85, allocations: 11.75 kB / 4.704 GB, free: 35.29 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.038e-05/13.85, allocations: 30.39 kB / 4.704 GB, free: 35.29 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/13.85, allocations: 0.5105 MB / 4.705 GB, free: 35.24 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/13.85, allocations: 4.157 MB / 4.709 GB, free: 31.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004182/13.86, allocations: 368.2 kB / 4.709 GB, free: 30.95 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003071/13.86, allocations: 87.7 kB / 4.709 GB, free: 30.94 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/13.86, allocations: 7.812 kB / 4.709 GB, free: 30.93 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003801/13.86, allocations: 2.182 MB / 4.712 GB, free: 30.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.173e-05/13.86, allocations: 17.06 kB / 4.712 GB, free: 30.08 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.339e-05/13.86, allocations: 21.44 kB / 4.712 GB, free: 30.08 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/13.86, allocations: 475.6 kB / 4.712 GB, free: 30.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-05/13.86, allocations: 37.69 kB / 4.712 GB, free: 30.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00404/13.87, allocations: 358 kB / 4.712 GB, free: 29.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/13.87, allocations: 89.12 kB / 4.713 GB, free: 29.88 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002442/13.87, allocations: 0.8599 MB / 4.713 GB, free: 29.39 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/13.87, allocations: 277.8 kB / 4.714 GB, free: 29.25 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003934/13.87, allocations: 2.07 MB / 4.716 GB, free: 28.39 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/13.87, allocations: 21.95 kB / 4.716 GB, free: 28.38 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/13.87, allocations: 3.906 kB / 4.716 GB, free: 28.38 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002512/13.88, allocations: 1.85 MB / 4.718 GB, free: 27.52 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/13.89, allocations: 5.126 MB / 4.723 GB, free: 24.01 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/13.89, allocations: 4 kB / 4.723 GB, free: 24.01 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/13.89, allocations: 0.5056 MB / 4.723 GB, free: 23.59 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.219e-05/13.89, allocations: 11.56 kB / 4.723 GB, free: 23.58 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/13.89, allocations: 50.95 kB / 4.723 GB, free: 23.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/13.89, allocations: 4.124 MB / 4.727 GB, free: 19.29 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/13.89, allocations: 4.031 kB / 4.727 GB, free: 19.29 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005048/13.9, allocations: 3.56 MB / 4.731 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002262/13.9, allocations: 0.5714 MB / 4.731 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008551/13.9, allocations: 39.42 kB / 4.731 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00323/13.9, allocations: 252.8 kB / 4.731 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/13.9, allocations: 125.7 kB / 4.732 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002146/13.9, allocations: 71.16 kB / 4.732 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002946/13.91, allocations: 1.31 MB / 4.733 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/13.91, allocations: 0 / 4.733 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.008813/13.92, allocations: 2.14 MB / 4.735 GB, free: 11.86 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008137/13.92, allocations: 4.763 MB / 4.74 GB, free: 7.707 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.007016/13.93, allocations: 3.198 MB / 4.743 GB, free: 4.898 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/13.93, allocations: 0 / 4.743 GB, free: 4.898 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001872/13.93, allocations: 1.007 MB / 4.744 GB, free: 4.012 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009351/13.94, allocations: 1.574 MB / 4.745 GB, free: 2.895 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/13.96, allocations: 7.81 MB / 4.753 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003328/13.96, allocations: 2.251 MB / 4.755 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.005503/13.97, allocations: 1.094 MB / 4.756 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/13.97, allocations: 218.9 kB / 4.756 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of SimCode: time 1.022e-06/13.97, allocations: 0 / 4.756 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of Templates: time 0.6655/14.63, allocations: 97.96 MB / 4.852 GB, free: 75.55 MB / 0.7761 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)