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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001082/0.001082, allocations: 194.4 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8/0.8, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 71.89 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3356, allocations: 80.18 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.5992/0.9348, allocations: 305.1 MB / 0.8795 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03588/0.9707, allocations: 25.78 MB / 0.9046 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00653/0.9773, allocations: 123.9 kB / 0.9048 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005423/0.9827, allocations: 1.798 MB / 0.9065 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01738/1, allocations: 5.968 MB / 0.9123 GB, free: 396 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00745/1.008, allocations: 2.623 MB / 0.9149 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01299/1.021, allocations: 8.9 MB / 0.9236 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005798/1.026, allocations: 3.64 MB / 0.9272 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01057/1.037, allocations: 4.149 MB / 0.9312 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005855/1.043, allocations: 2.956 MB / 0.9341 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001693/1.045, allocations: 360 kB / 0.9344 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01126/1.056, allocations: 4.607 MB / 0.9389 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003313/1.059, allocations: 1.637 MB / 0.9405 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005606/1.065, allocations: 2.135 MB / 0.9426 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01416/1.079, allocations: 6.754 MB / 0.9492 GB, free: 10.54 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/1.079, allocations: 0 / 0.9492 GB, free: 10.54 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.084e-06/1.079, allocations: 0 / 0.9492 GB, free: 10.54 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002708/1.079, allocations: 0 / 0.9492 GB, free: 10.54 MB / 0.67 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.01032/1.09, allocations: 4.17 MB / 0.9533 GB, free: 6.301 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.09, allocations: 8.031 kB / 0.9533 GB, free: 6.293 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00654/1.096, allocations: 0.94 MB / 0.9542 GB, free: 5.348 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00626/1.103, allocations: 2.397 MB / 0.9566 GB, free: 2.875 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000297/1.103, allocations: 277.2 kB / 0.9568 GB, free: 2.59 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008578/1.104, allocations: 299.9 kB / 0.9571 GB, free: 2.297 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007942/1.112, allocations: 3.351 MB / 0.9604 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.412e-05/1.112, allocations: 7.938 kB / 0.9604 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003518/1.112, allocations: 112 kB / 0.9605 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/1.112, allocations: 105.3 kB / 0.9606 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004675/1.117, allocations: 2.785 MB / 0.9633 GB, free: 11.84 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.01639/1.134, allocations: 13.24 MB / 0.9762 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00249/1.136, allocations: 1.812 MB / 0.978 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/1.137, allocations: 1.106 MB / 0.9791 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005064/1.138, allocations: 333.2 kB / 0.9794 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.735e-05/1.138, allocations: 64.56 kB / 0.9795 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=182): time 4.077e-06/1.138, allocations: 3.938 kB / 0.9795 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.004918/1.143, allocations: 2.715 MB / 0.9821 GB, free: 7.309 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/1.143, allocations: 73.41 kB / 0.9822 GB, free: 7.227 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002554/1.146, allocations: 1.994 MB / 0.9841 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002143/1.146, allocations: 73.7 kB / 0.9842 GB, free: 5.137 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009627/1.147, allocations: 1.406 MB / 0.9856 GB, free: 3.715 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005927/1.147, allocations: 0.6392 MB / 0.9862 GB, free: 3.066 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005487/1.148, allocations: 391.2 kB / 0.9866 GB, free: 2.676 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.141e-05/1.148, allocations: 301.1 kB / 0.9869 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/1.149, allocations: 0.8129 MB / 0.9877 GB, free: 1.555 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/1.151, allocations: 1.437 MB / 0.9891 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002943/1.154, allocations: 2.252 MB / 0.9913 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/1.154, allocations: 4 kB / 0.9913 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004071/1.158, allocations: 2.486 MB / 0.9937 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/1.158, allocations: 8.969 kB / 0.9937 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/1.158, allocations: 16 kB / 0.9937 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.351e-05/1.158, allocations: 23.94 kB / 0.9937 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002496/1.161, allocations: 0.5539 MB / 0.9943 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/1.163, allocations: 4.153 MB / 0.9983 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/1.165, allocations: 229.9 kB / 0.9986 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/1.166, allocations: 87.98 kB / 0.9986 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002441/1.168, allocations: 1.464 MB / 1 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00165/1.17, allocations: 1.42 MB / 1.001 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002865/1.173, allocations: 2.233 MB / 1.004 GB, free: 120 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.566e-06/1.173, allocations: 4 kB / 1.004 GB, free: 116 kB / 0.7169 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004017/1.177, allocations: 2.471 MB / 1.006 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.177, allocations: 12 kB / 1.006 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/1.177, allocations: 12 kB / 1.006 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/1.177, allocations: 28.03 kB / 1.006 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/1.179, allocations: 467.3 kB / 1.007 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.161e-05/1.179, allocations: 35.86 kB / 1.007 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/1.181, allocations: 194.5 kB / 1.007 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/1.181, allocations: 87.98 kB / 1.007 GB, free: 12.81 MB / 0.7325 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 (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004948/1.182, allocations: 315.6 kB / 1.007 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004882/1.182, allocations: 268.8 kB / 1.007 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/1.186, allocations: 2.107 MB / 1.009 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/1.186, allocations: 16 kB / 1.009 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.186, allocations: 3.984 kB / 1.009 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00252/1.188, allocations: 1.879 MB / 1.011 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008522/1.197, allocations: 5.165 MB / 1.016 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/1.197, allocations: 4.375 kB / 1.016 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002428/1.199, allocations: 0.4994 MB / 1.017 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-05/1.199, allocations: 8 kB / 1.017 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/1.199, allocations: 55.97 kB / 1.017 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/1.201, allocations: 4.13 MB / 1.021 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.201, allocations: 7.938 kB / 1.021 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005126/1.207, allocations: 3.359 MB / 1.024 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/1.208, allocations: 0.556 MB / 1.025 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004725/1.209, allocations: 51.92 kB / 1.025 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/1.21, allocations: 81.61 kB / 1.025 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/1.211, allocations: 113.8 kB / 1.025 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/1.211, allocations: 75.97 kB / 1.025 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001916/1.213, allocations: 1.334 MB / 1.026 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.213, allocations: 0 / 1.026 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004028/1.217, allocations: 1.718 MB / 1.028 GB, free: 6.656 MB / 0.7481 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 (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007431/1.218, allocations: 349.3 kB / 1.028 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005975/1.224, allocations: 3.31 MB / 1.032 GB, free: 3.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/1.224, allocations: 7.938 kB / 1.032 GB, free: 3.012 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00172/1.225, allocations: 1.022 MB / 1.033 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006475/1.232, allocations: 1.53 MB / 1.034 GB, free: 0.5156 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2733/1.505, allocations: 6.467 MB / 1.04 GB, free: 323.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002243/1.507, allocations: 2.19 MB / 1.043 GB, free: 322.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003166/1.511, allocations: 1.093 MB / 1.044 GB, free: 322.4 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005675/1.511, allocations: 213.5 kB / 1.044 GB, free: 322.4 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/1.511, allocations: 3.531 kB / 1.044 GB, free: 322.4 MB / 0.7481 GB Notification: Performance of Templates: time 0.07297/1.584, allocations: 54.37 MB / 1.097 GB, free: 280.1 MB / 0.7481 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)