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-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: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008253/0.008253, allocations: 169.6 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.788/0.788, allocations: 135.2 MB / 151 MB, free: 13.81 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.7/1.7, allocations: 223.2 MB / 406.8 MB, free: 3.156 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.001009/0.001009, allocations: 95.08 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000571/0.0005707, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.58/0.5806, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.801/6.381, allocations: 1.943 GB / 2.592 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/6.382, allocations: 94.44 kB / 2.592 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.267/14.65, allocations: 2.065 GB / 4.657 GB, free: 55.32 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.116e-06/14.65, allocations: 0 / 4.657 GB, free: 55.32 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0006541/14.65, allocations: 95.69 kB / 4.658 GB, free: 55.3 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.01823/14.67, allocations: 3.976 MB / 4.661 GB, free: 53.35 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/14.67, allocations: 14.3 kB / 4.661 GB, free: 53.35 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002459/14.67, allocations: 386.2 kB / 4.662 GB, free: 53.3 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00836/14.68, allocations: 0.9299 MB / 4.663 GB, free: 53.1 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01206/14.69, allocations: 2.914 MB / 4.666 GB, free: 52.43 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004781/14.69, allocations: 277.8 kB / 4.666 GB, free: 52.36 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001715/14.69, allocations: 298.1 kB / 4.666 GB, free: 52.35 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01248/14.71, allocations: 3.2 MB / 4.669 GB, free: 52.09 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002031/14.71, allocations: 0 / 4.669 GB, free: 52.09 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001158/14.71, allocations: 120.6 kB / 4.669 GB, free: 52.09 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001677/14.71, allocations: 103 kB / 4.669 GB, free: 52.08 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007659/14.71, allocations: 2.638 MB / 4.672 GB, free: 52.04 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.02679/14.74, allocations: 13.19 MB / 4.685 GB, free: 44.69 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004018/14.75, allocations: 1.793 MB / 4.687 GB, free: 44.63 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006433/14.75, allocations: 326 kB / 4.687 GB, free: 44.35 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.803e-05/14.75, allocations: 57.09 kB / 4.687 GB, free: 44.31 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=182): time 4.529e-06/14.75, allocations: 0 / 4.687 GB, free: 44.31 MB / 0.7605 GB Notification: Performance of matching and sorting (n=182): time 0.007085/14.75, allocations: 2.684 MB / 4.69 GB, free: 44.09 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/14.75, allocations: 71.31 kB / 4.69 GB, free: 44.02 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004489/14.76, allocations: 1.714 MB / 4.691 GB, free: 43.81 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004219/14.76, allocations: 70.17 kB / 4.691 GB, free: 43.78 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001528/14.76, allocations: 1.417 MB / 4.693 GB, free: 43.23 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008497/14.76, allocations: 0.64 MB / 4.693 GB, free: 42.82 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/14.76, allocations: 43.75 kB / 4.693 GB, free: 42.82 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001861/14.76, allocations: 380.1 kB / 4.694 GB, free: 42.52 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/14.76, allocations: 0.7785 MB / 4.695 GB, free: 42.51 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/14.76, allocations: 1.459 MB / 4.696 GB, free: 41.73 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/14.77, allocations: 1.05 MB / 4.697 GB, free: 41.68 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/14.77, allocations: 5.625 kB / 4.697 GB, free: 41.68 MB / 0.7605 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004699/14.77, allocations: 2.447 MB / 4.699 GB, free: 40.98 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001692/14.77, allocations: 5.526 MB / 4.705 GB, free: 35.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.632e-05/14.77, allocations: 19.02 kB / 4.705 GB, free: 35.04 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.255e-05/14.77, allocations: 25.19 kB / 4.705 GB, free: 35.04 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/14.78, allocations: 0.516 MB / 4.705 GB, free: 34.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/14.78, allocations: 4.146 MB / 4.709 GB, free: 30.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004147/14.78, allocations: 377.7 kB / 4.71 GB, free: 30.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000283/14.78, allocations: 88.41 kB / 4.71 GB, free: 30.68 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/14.78, allocations: 3.562 kB / 4.71 GB, free: 30.68 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003809/14.79, allocations: 2.183 MB / 4.712 GB, free: 29.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/14.79, allocations: 11.5 kB / 4.712 GB, free: 29.83 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.722e-05/14.79, allocations: 33.92 kB / 4.712 GB, free: 29.83 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/14.79, allocations: 477.3 kB / 4.712 GB, free: 29.78 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.443e-05/14.79, allocations: 30.17 kB / 4.713 GB, free: 29.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004415/14.79, allocations: 357.2 kB / 4.713 GB, free: 29.65 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002824/14.79, allocations: 85.97 kB / 4.713 GB, free: 29.63 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.003094/14.8, allocations: 0.8695 MB / 4.714 GB, free: 29.13 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/14.8, allocations: 270.6 kB / 4.714 GB, free: 29 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004403/14.8, allocations: 2.077 MB / 4.716 GB, free: 28.13 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/14.8, allocations: 22.83 kB / 4.716 GB, free: 28.13 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/14.8, allocations: 3.188 kB / 4.716 GB, free: 28.13 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002613/14.8, allocations: 1.851 MB / 4.718 GB, free: 27.27 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/14.82, allocations: 5.123 MB / 4.723 GB, free: 23.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/14.82, allocations: 6.312 kB / 4.723 GB, free: 23.86 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002447/14.82, allocations: 0.5023 MB / 4.723 GB, free: 23.44 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-05/14.82, allocations: 12 kB / 4.723 GB, free: 23.43 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000212/14.82, allocations: 51.83 kB / 4.723 GB, free: 23.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/14.82, allocations: 4.128 MB / 4.728 GB, free: 19.13 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/14.82, allocations: 4.031 kB / 4.728 GB, free: 19.13 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006637/14.83, allocations: 3.555 MB / 4.731 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002913/14.83, allocations: 0.5656 MB / 4.732 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/14.83, allocations: 43.8 kB / 4.732 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003399/14.84, allocations: 253.1 kB / 4.732 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/14.84, allocations: 118.8 kB / 4.732 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/14.84, allocations: 70.88 kB / 4.732 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003238/14.84, allocations: 1.312 MB / 4.733 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.41e-07/14.84, allocations: 0 / 4.733 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.008948/14.85, allocations: 2.141 MB / 4.735 GB, free: 11.71 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.01362/14.86, allocations: 9.503 MB / 4.745 GB, free: 3.055 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006897/14.87, allocations: 3.195 MB / 4.748 GB, free: 252 kB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/14.87, allocations: 3.75 kB / 4.748 GB, free: 252 kB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004088/14.87, allocations: 1.184 MB / 4.749 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009453/14.88, allocations: 1.565 MB / 4.75 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7054/15.59, allocations: 19.28 MB / 4.769 GB, free: 75.78 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003698/15.59, allocations: 2.25 MB / 4.771 GB, free: 75.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.005572/15.6, allocations: 1.095 MB / 4.773 GB, free: 75 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00238/15.6, allocations: 1.263 MB / 4.774 GB, free: 74.99 MB / 0.7761 GB Notification: Performance of SimCode: time 1.433e-06/15.6, allocations: 0.5312 kB / 4.774 GB, free: 74.99 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2526/15.85, allocations: 135.9 MB / 4.906 GB, free: 70.53 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/15.85, allocations: 250.9 kB / 4.907 GB, free: 70.27 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.18/23.03, allocations: 0.7656 kB / 4.907 GB, free: 70.27 MB / 0.7761 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)