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.0009892/0.0009892, allocations: 106.2 kB / 16.41 MB, free: 6.496 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.0009766/0.0009766, allocations: 191 kB / 17.34 MB, free: 5.766 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.214/1.214, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7448/0.7448, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 66.88 kB / 0.5863 GB, free: 21.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1365, allocations: 80.92 MB / 0.6653 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.5891/0.7256, allocations: 305.1 MB / 0.9633 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0301/0.7558, allocations: 25.79 MB / 0.9884 GB, free: 3.957 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003532/0.7593, allocations: 131.2 kB / 0.9886 GB, free: 3.828 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003962/0.7633, allocations: 1.798 MB / 0.9903 GB, free: 2.02 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01254/0.7759, allocations: 5.956 MB / 0.9961 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005922/0.7818, allocations: 2.618 MB / 0.9987 GB, free: 9.441 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01128/0.7931, allocations: 8.901 MB / 1.007 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005528/0.7987, allocations: 3.635 MB / 1.011 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009948/0.8087, allocations: 4.144 MB / 1.015 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005576/0.8142, allocations: 2.966 MB / 1.018 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001428/0.8157, allocations: 360 kB / 1.018 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009439/0.8251, allocations: 4.603 MB / 1.023 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00228/0.8274, allocations: 1.644 MB / 1.024 GB, free: 15.11 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004109/0.8316, allocations: 2.131 MB / 1.026 GB, free: 12.97 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.8424, allocations: 6.754 MB / 1.033 GB, free: 6.199 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8424, allocations: 0 / 1.033 GB, free: 6.199 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8425, allocations: 0 / 1.033 GB, free: 6.199 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001792/0.8426, allocations: 0 / 1.033 GB, free: 6.199 MB / 0.795 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.006803/0.8495, allocations: 4.176 MB / 1.037 GB, free: 1.953 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.8495, allocations: 17.11 kB / 1.037 GB, free: 1.938 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005003/0.8545, allocations: 0.9243 MB / 1.038 GB, free: 1.008 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003643/0.8582, allocations: 2.401 MB / 1.04 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/0.8584, allocations: 281.2 kB / 1.041 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003417/0.8587, allocations: 291.9 kB / 1.041 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004822/0.8636, allocations: 3.359 MB / 1.044 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.754e-05/0.8636, allocations: 3.984 kB / 1.044 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002189/0.8639, allocations: 116 kB / 1.044 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.395e-05/0.864, allocations: 105.3 kB / 1.044 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003909/0.8679, allocations: 2.788 MB / 1.047 GB, free: 7.48 MB / 0.8106 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.3264/1.194, allocations: 13.23 MB / 1.06 GB, free: 305.3 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/1.197, allocations: 1.823 MB / 1.062 GB, free: 304.9 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/1.198, allocations: 1.101 MB / 1.063 GB, free: 304.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004174/1.199, allocations: 326.6 kB / 1.063 GB, free: 304.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/1.199, allocations: 57.03 kB / 1.063 GB, free: 304.2 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=182): time 4.088e-06/1.199, allocations: 3.969 kB / 1.063 GB, free: 304.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=182): time 0.005237/1.204, allocations: 2.72 MB / 1.066 GB, free: 303.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/1.204, allocations: 70.81 kB / 1.066 GB, free: 303.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/1.207, allocations: 1.995 MB / 1.068 GB, free: 302.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002054/1.207, allocations: 68.38 kB / 1.068 GB, free: 302.4 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008212/1.208, allocations: 1.41 MB / 1.069 GB, free: 301.4 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005117/1.208, allocations: 0.6426 MB / 1.07 GB, free: 300.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004989/1.209, allocations: 387.9 kB / 1.07 GB, free: 300.8 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.797e-05/1.209, allocations: 310.8 kB / 1.071 GB, free: 300.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/1.21, allocations: 0.8065 MB / 1.071 GB, free: 300.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/1.212, allocations: 1.43 MB / 1.073 GB, free: 299.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002654/1.214, allocations: 2.259 MB / 1.075 GB, free: 297.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/1.214, allocations: 4.188 kB / 1.075 GB, free: 297.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003776/1.218, allocations: 2.488 MB / 1.077 GB, free: 296.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/1.218, allocations: 11.27 kB / 1.077 GB, free: 296.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/1.218, allocations: 14 kB / 1.078 GB, free: 296.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-05/1.218, allocations: 23.12 kB / 1.078 GB, free: 296.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/1.22, allocations: 0.5516 MB / 1.078 GB, free: 296.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/1.222, allocations: 4.164 MB / 1.082 GB, free: 292.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/1.224, allocations: 224.4 kB / 1.082 GB, free: 292.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/1.224, allocations: 87.78 kB / 1.082 GB, free: 292.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002213/1.226, allocations: 1.46 MB / 1.084 GB, free: 291.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001375/1.228, allocations: 1.419 MB / 1.085 GB, free: 290.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002546/1.23, allocations: 2.234 MB / 1.087 GB, free: 289.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.722e-06/1.23, allocations: 3.969 kB / 1.087 GB, free: 289.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.003643/1.234, allocations: 2.479 MB / 1.09 GB, free: 288.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.234, allocations: 14.64 kB / 1.09 GB, free: 288.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.234, allocations: 15.09 kB / 1.09 GB, free: 288.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/1.234, allocations: 27.69 kB / 1.09 GB, free: 288.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/1.236, allocations: 467.5 kB / 1.09 GB, free: 288.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/1.236, allocations: 35.38 kB / 1.09 GB, free: 288.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/1.238, allocations: 199 kB / 1.091 GB, free: 288.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/1.238, allocations: 87.14 kB / 1.091 GB, free: 288.4 MB / 0.8106 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.0005033/1.239, allocations: 311.3 kB / 1.091 GB, free: 288.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004107/1.239, allocations: 271.3 kB / 1.091 GB, free: 288 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/1.242, allocations: 2.093 MB / 1.093 GB, free: 287.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/1.242, allocations: 19.75 kB / 1.093 GB, free: 287.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.242, allocations: 0 / 1.093 GB, free: 287.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001918/1.244, allocations: 1.876 MB / 1.095 GB, free: 286.3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006109/1.25, allocations: 5.173 MB / 1.1 GB, free: 283.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/1.25, allocations: 0 / 1.1 GB, free: 283.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001991/1.252, allocations: 0.5053 MB / 1.101 GB, free: 283.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/1.252, allocations: 9.438 kB / 1.101 GB, free: 283.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/1.252, allocations: 49.77 kB / 1.101 GB, free: 283.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/1.253, allocations: 4.125 MB / 1.105 GB, free: 278.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.253, allocations: 2.5 kB / 1.105 GB, free: 278.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003678/1.257, allocations: 3.364 MB / 1.108 GB, free: 277 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009931/1.258, allocations: 0.5644 MB / 1.109 GB, free: 276.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/1.258, allocations: 42.67 kB / 1.109 GB, free: 276.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/1.259, allocations: 90.08 kB / 1.109 GB, free: 276.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/1.26, allocations: 121.7 kB / 1.109 GB, free: 276.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/1.26, allocations: 71.31 kB / 1.109 GB, free: 276.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001399/1.261, allocations: 1.34 MB / 1.11 GB, free: 275.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/1.261, allocations: 0 / 1.11 GB, free: 275.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002946/1.264, allocations: 1.712 MB / 1.112 GB, free: 274.2 MB / 0.8106 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.0005957/1.265, allocations: 354.9 kB / 1.112 GB, free: 273.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004568/1.269, allocations: 3.302 MB / 1.115 GB, free: 270.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.269, allocations: 4 kB / 1.115 GB, free: 270.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/1.271, allocations: 1.03 MB / 1.116 GB, free: 269.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005423/1.276, allocations: 1.537 MB / 1.118 GB, free: 268.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007507/1.283, allocations: 6.677 MB / 1.124 GB, free: 261.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/1.285, allocations: 2.194 MB / 1.127 GB, free: 259.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000775/1.285, allocations: 231.4 kB / 1.127 GB, free: 259.1 MB / 0.8106 GB Notification: Performance of SimCode: time 1.002e-06/1.285, allocations: 0 / 1.127 GB, free: 259.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.09021/1.376, allocations: 140.8 MB / 1.264 GB, free: 118.3 MB / 0.8106 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)