Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.006472/0.006472, 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.7489/0.7489, allocations: 132.3 MB / 148.1 MB, free: 272 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.445/1.445, allocations: 223.2 MB / 403.2 MB, free: 6.805 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.001004/0.001004, allocations: 110.3 kB / 485.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003625, allocations: 8 kB / 0.5641 GB, free: 2.156 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4534/0.4538, allocations: 81.57 MB / 0.6437 GB, free: 39.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.652/5.105, allocations: 1.942 GB / 2.586 GB, free: 60.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/5.106, allocations: 95.95 kB / 2.586 GB, free: 60.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.588/13.69, allocations: 2.065 GB / 4.651 GB, free: 55.69 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.645e-06/13.69, allocations: 0 / 4.651 GB, free: 55.69 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0004488/13.69, allocations: 99.25 kB / 4.652 GB, free: 55.67 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.01638/13.71, allocations: 3.98 MB / 4.655 GB, free: 54.12 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/13.71, allocations: 11.22 kB / 4.655 GB, free: 54.12 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007885/13.72, allocations: 0.9268 MB / 4.656 GB, free: 53.93 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/13.73, allocations: 2.903 MB / 4.659 GB, free: 53.34 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003839/13.73, allocations: 283 kB / 4.659 GB, free: 53.27 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001238/13.73, allocations: 300.5 kB / 4.66 GB, free: 53.27 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006686/13.74, allocations: 3.196 MB / 4.663 GB, free: 53.01 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.604e-05/13.74, allocations: 5.719 kB / 4.663 GB, free: 53.01 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003473/13.74, allocations: 113.5 kB / 4.663 GB, free: 53.01 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/13.74, allocations: 105.9 kB / 4.663 GB, free: 53 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004938/13.74, allocations: 2.637 MB / 4.666 GB, free: 52.97 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.02122/13.76, allocations: 13.19 MB / 4.679 GB, free: 45.77 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003039/13.77, allocations: 1.784 MB / 4.68 GB, free: 45.73 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005607/13.77, allocations: 328.4 kB / 4.681 GB, free: 45.45 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.278e-05/13.77, allocations: 59.06 kB / 4.681 GB, free: 45.41 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=182): time 4.288e-06/13.77, allocations: 1.188 kB / 4.681 GB, free: 45.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=182): time 0.005869/13.77, allocations: 2.682 MB / 4.683 GB, free: 45.19 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/13.77, allocations: 73.03 kB / 4.683 GB, free: 45.12 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003249/13.78, allocations: 1.714 MB / 4.685 GB, free: 44.91 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004121/13.78, allocations: 69.86 kB / 4.685 GB, free: 44.88 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001119/13.78, allocations: 1.415 MB / 4.686 GB, free: 44.34 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007431/13.78, allocations: 0.6413 MB / 4.687 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/13.78, allocations: 40.47 kB / 4.687 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001528/13.78, allocations: 395.6 kB / 4.687 GB, free: 43.62 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/13.78, allocations: 0.7715 MB / 4.688 GB, free: 43.61 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/13.78, allocations: 1.473 MB / 4.69 GB, free: 42.84 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/13.78, allocations: 1.039 MB / 4.691 GB, free: 42.82 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/13.78, allocations: 3 kB / 4.691 GB, free: 42.82 MB / 0.7605 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004346/13.79, allocations: 2.453 MB / 4.693 GB, free: 42.61 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001382/13.79, allocations: 5.525 MB / 4.698 GB, free: 36.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/13.79, allocations: 15.88 kB / 4.699 GB, free: 36.76 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-05/13.79, allocations: 22.19 kB / 4.699 GB, free: 36.76 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/13.79, allocations: 0.5094 MB / 4.699 GB, free: 36.76 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/13.79, allocations: 4.159 MB / 4.703 GB, free: 32.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004359/13.8, allocations: 368.5 kB / 4.703 GB, free: 32.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/13.8, allocations: 96.12 kB / 4.704 GB, free: 32.57 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/13.8, allocations: 3.5 kB / 4.704 GB, free: 32.57 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003417/13.8, allocations: 2.179 MB / 4.706 GB, free: 32.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/13.8, allocations: 14.38 kB / 4.706 GB, free: 32.52 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/13.8, allocations: 32.67 kB / 4.706 GB, free: 32.52 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/13.8, allocations: 476.9 kB / 4.706 GB, free: 32.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-05/13.8, allocations: 28.31 kB / 4.706 GB, free: 32.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004014/13.81, allocations: 351.6 kB / 4.707 GB, free: 32.43 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001908/13.81, allocations: 85.86 kB / 4.707 GB, free: 32.43 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.002403/13.81, allocations: 0.8656 MB / 4.707 GB, free: 32.23 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009334/13.81, allocations: 270.5 kB / 4.708 GB, free: 32.1 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003524/13.82, allocations: 2.08 MB / 4.71 GB, free: 31.97 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/13.82, allocations: 20.22 kB / 4.71 GB, free: 31.97 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/13.82, allocations: 0 / 4.71 GB, free: 31.97 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002323/13.82, allocations: 1.856 MB / 4.712 GB, free: 31.67 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/13.83, allocations: 5.125 MB / 4.717 GB, free: 31.13 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/13.83, allocations: 5.625 kB / 4.717 GB, free: 31.13 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002449/13.83, allocations: 0.5073 MB / 4.717 GB, free: 31.13 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-05/13.83, allocations: 7.156 kB / 4.717 GB, free: 31.13 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/13.83, allocations: 52.38 kB / 4.717 GB, free: 31.13 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/13.83, allocations: 4.129 MB / 4.721 GB, free: 27.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/13.83, allocations: 10.61 kB / 4.721 GB, free: 27.04 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00551/13.84, allocations: 3.55 MB / 4.725 GB, free: 26.29 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00238/13.84, allocations: 0.5645 MB / 4.725 GB, free: 26.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008005/13.84, allocations: 46.92 kB / 4.725 GB, free: 26.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003758/13.85, allocations: 252.7 kB / 4.725 GB, free: 26.02 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/13.85, allocations: 116.1 kB / 4.726 GB, free: 26.01 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002355/13.85, allocations: 71.45 kB / 4.726 GB, free: 26.01 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00255/13.85, allocations: 1.316 MB / 4.727 GB, free: 25.87 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.262e-06/13.85, allocations: 0 / 4.727 GB, free: 25.87 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.008708/13.86, allocations: 2.141 MB / 4.729 GB, free: 25.62 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.01043/13.87, allocations: 4.762 MB / 4.734 GB, free: 23.33 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00727/13.88, allocations: 3.198 MB / 4.737 GB, free: 23.29 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/13.88, allocations: 0 / 4.737 GB, free: 23.29 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001766/13.88, allocations: 1.006 MB / 4.738 GB, free: 23.27 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008554/13.89, allocations: 1.577 MB / 4.739 GB, free: 23.23 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/13.9, allocations: 7.824 MB / 4.747 GB, free: 19.99 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/13.9, allocations: 2.254 MB / 4.749 GB, free: 19.2 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004577/13.9, allocations: 1.092 MB / 4.75 GB, free: 19.09 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000749/13.91, allocations: 221.1 kB / 4.75 GB, free: 19.08 MB / 0.7605 GB Notification: Performance of SimCode: time 1.543e-06/13.91, allocations: 0 / 4.75 GB, free: 19.08 MB / 0.7605 GB Notification: Performance of Templates: time 0.1512/14.06, allocations: 97.95 MB / 4.846 GB, free: 244 kB / 0.7917 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)