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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008309/0.0008308, allocations: 99.94 kB / 15.05 MB, free: 1.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008997/0.0008997, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8466/0.8466, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002723/0.0002723, allocations: 8 kB / 0.5068 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1342, allocations: 82.32 MB / 0.5872 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.4528/0.5871, allocations: 247.2 MB / 0.8286 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03336/0.6205, allocations: 23.88 MB / 0.8519 GB, free: 13.29 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005644/0.6262, allocations: 99.31 kB / 0.852 GB, free: 13.19 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006615/0.6328, allocations: 1.711 MB / 0.8537 GB, free: 11.47 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01755/0.6504, allocations: 5.85 MB / 0.8594 GB, free: 5.609 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008009/0.6585, allocations: 2.726 MB / 0.8621 GB, free: 2.938 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.3701/1.029, allocations: 5.114 MB / 0.8671 GB, free: 10.18 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003445/1.032, allocations: 2.583 MB / 0.8696 GB, free: 25.84 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004788/1.037, allocations: 2.631 MB / 0.8722 GB, free: 25.83 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00293/1.04, allocations: 1.909 MB / 0.874 GB, free: 25.82 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003871/1.04, allocations: 151.4 kB / 0.8742 GB, free: 25.82 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004964/1.045, allocations: 2.082 MB / 0.8762 GB, free: 25.82 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00113/1.046, allocations: 1.312 MB / 0.8775 GB, free: 25.82 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/1.047, allocations: 0.771 MB / 0.8782 GB, free: 25.78 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00515/1.052, allocations: 4.503 MB / 0.8826 GB, free: 25.44 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/1.053, allocations: 0 / 0.8826 GB, free: 25.44 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.765e-06/1.053, allocations: 2.031 kB / 0.8826 GB, free: 25.44 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001479/1.053, allocations: 0 / 0.8826 GB, free: 25.44 MB / 0.6856 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.006933/1.06, allocations: 3.42 MB / 0.886 GB, free: 23.75 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.06, allocations: 12.84 kB / 0.886 GB, free: 23.75 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006023/1.066, allocations: 0.9352 MB / 0.8869 GB, free: 23.54 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005278/1.071, allocations: 2.229 MB / 0.8891 GB, free: 22.99 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/1.071, allocations: 279.8 kB / 0.8893 GB, free: 22.92 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004942/1.072, allocations: 293.4 kB / 0.8896 GB, free: 22.92 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005973/1.078, allocations: 3.326 MB / 0.8929 GB, free: 22.65 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-05/1.078, allocations: 5.438 kB / 0.8929 GB, free: 22.65 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002435/1.078, allocations: 115.2 kB / 0.893 GB, free: 22.65 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001268/1.078, allocations: 106.6 kB / 0.8931 GB, free: 22.64 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004865/1.083, allocations: 2.787 MB / 0.8958 GB, free: 22.61 MB / 0.6856 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.01647/1.1, allocations: 13.25 MB / 0.9087 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/1.102, allocations: 1.864 MB / 0.9106 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/1.102, allocations: 61.27 kB / 0.9106 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/1.102, allocations: 57.31 kB / 0.9107 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=186): time 4.478e-06/1.102, allocations: 0.9062 kB / 0.9107 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of matching and sorting (n=186): time 0.004563/1.107, allocations: 2.777 MB / 0.9134 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/1.107, allocations: 73.02 kB / 0.9135 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/1.109, allocations: 1.976 MB / 0.9154 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002383/1.11, allocations: 69.95 kB / 0.9155 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007328/1.11, allocations: 1.41 MB / 0.9168 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004879/1.111, allocations: 0.6535 MB / 0.9175 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.76e-05/1.111, allocations: 40.38 kB / 0.9175 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.111, allocations: 395.4 kB / 0.9179 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/1.112, allocations: 0.7932 MB / 0.9187 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/1.113, allocations: 1.453 MB / 0.9201 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/1.115, allocations: 1.06 MB / 0.9211 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/1.115, allocations: 6.344 kB / 0.9211 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003442/1.118, allocations: 2.495 MB / 0.9236 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.001649/1.12, allocations: 5.25 MB / 0.9287 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/1.12, allocations: 12.06 kB / 0.9287 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/1.12, allocations: 32.42 kB / 0.9287 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002235/1.122, allocations: 0.57 MB / 0.9293 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/1.124, allocations: 4.148 MB / 0.9333 GB, free: 18.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003334/1.127, allocations: 378.7 kB / 0.9337 GB, free: 18.56 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/1.128, allocations: 86.83 kB / 0.9338 GB, free: 18.56 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/1.128, allocations: 7.266 kB / 0.9338 GB, free: 18.55 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002667/1.13, allocations: 2.226 MB / 0.936 GB, free: 18.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/1.13, allocations: 13.59 kB / 0.936 GB, free: 18.5 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/1.13, allocations: 23.97 kB / 0.936 GB, free: 18.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/1.132, allocations: 486.1 kB / 0.9365 GB, free: 18.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.397e-05/1.132, allocations: 29.88 kB / 0.9365 GB, free: 18.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/1.135, allocations: 357.3 kB / 0.9368 GB, free: 18.39 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/1.135, allocations: 84.14 kB / 0.9369 GB, free: 18.39 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (261): * Single equations (assignments): 254 * 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.001678/1.137, allocations: 0.8687 MB / 0.9378 GB, free: 18.19 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006226/1.138, allocations: 276.2 kB / 0.938 GB, free: 18.05 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002815/1.14, allocations: 2.138 MB / 0.9401 GB, free: 17.92 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/1.14, allocations: 18.91 kB / 0.9401 GB, free: 17.92 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.14, allocations: 7.75 kB / 0.9401 GB, free: 17.92 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002069/1.143, allocations: 1.909 MB / 0.942 GB, free: 17.62 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007837/1.15, allocations: 5.205 MB / 0.9471 GB, free: 17.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/1.15, allocations: 7.359 kB / 0.9471 GB, free: 17.08 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002116/1.153, allocations: 0.506 MB / 0.9476 GB, free: 17 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.94e-05/1.153, allocations: 9.438 kB / 0.9476 GB, free: 17 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/1.153, allocations: 56.5 kB / 0.9476 GB, free: 16.99 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/1.155, allocations: 4.129 MB / 0.9517 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.155, allocations: 7.75 kB / 0.9517 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004285/1.159, allocations: 3.656 MB / 0.9553 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001705/1.161, allocations: 0.5726 MB / 0.9558 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003693/1.161, allocations: 45.67 kB / 0.9559 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/1.163, allocations: 253.4 kB / 0.9561 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/1.163, allocations: 113.8 kB / 0.9562 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.163, allocations: 75.73 kB / 0.9563 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001604/1.165, allocations: 1.31 MB / 0.9576 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of sort global known variables: time 5.01e-07/1.165, allocations: 0 / 0.9576 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003588/1.168, allocations: 1.727 MB / 0.9592 GB, free: 10.64 MB / 0.7012 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 (186): * Single equations (assignments): 179 * 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.0006779/1.169, allocations: 389.5 kB / 0.9596 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004823/1.174, allocations: 3.337 MB / 0.9629 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.174, allocations: 2.688 kB / 0.9629 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/1.175, allocations: 1.044 MB / 0.9639 GB, free: 9.871 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007251/1.183, allocations: 1.574 MB / 0.9654 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/1.193, allocations: 7.86 MB / 0.9731 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/1.195, allocations: 2.254 MB / 0.9753 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003824/1.199, allocations: 1.108 MB / 0.9764 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005951/1.199, allocations: 236.2 kB / 0.9766 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of SimCode: time 1.012e-06/1.199, allocations: 0 / 0.9766 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of Templates: time 0.08219/1.282, allocations: 52.28 MB / 1.028 GB, free: 11.03 MB / 0.7637 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: