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.001208/0.001208, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7059/0.7059, allocations: 132.2 MB / 148.9 MB, free: 12.17 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.37/1.37, allocations: 222.9 MB / 403.4 MB, free: 7.086 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 103.5 kB / 484.4 MB, free: 8.727 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 59.91 kB / 0.5618 GB, free: 71.08 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1432, allocations: 80.21 MB / 0.6402 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.5807/0.724, allocations: 302.9 MB / 0.936 GB, free: 3.848 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.4224/1.146, allocations: 25.96 MB / 0.9613 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004909/1.151, allocations: 117.2 kB / 0.9615 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005846/1.157, allocations: 1.546 MB / 0.963 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01392/1.171, allocations: 5.617 MB / 0.9684 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006225/1.178, allocations: 2.365 MB / 0.9708 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01556/1.193, allocations: 12.44 MB / 0.9829 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004979/1.198, allocations: 3.096 MB / 0.9859 GB, free: 16.39 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01121/1.209, allocations: 3.716 MB / 0.9896 GB, free: 16.33 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006225/1.216, allocations: 3.083 MB / 0.9926 GB, free: 16.31 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007756/1.216, allocations: 193.2 kB / 0.9928 GB, free: 16.31 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009925/1.226, allocations: 5.314 MB / 0.9979 GB, free: 16.27 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001822/1.228, allocations: 1.487 MB / 0.9994 GB, free: 16.27 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002936/1.231, allocations: 1.952 MB / 1.001 GB, free: 15.74 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009658/1.241, allocations: 6.867 MB / 1.008 GB, free: 14.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.241, allocations: 4 kB / 1.008 GB, free: 14.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.262e-06/1.241, allocations: 0 / 1.008 GB, free: 14.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.973e-05/1.241, allocations: 3.75 kB / 1.008 GB, free: 14.93 MB / 0.698 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.00688/1.248, allocations: 4.177 MB / 1.012 GB, free: 13.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/1.248, allocations: 12.44 kB / 1.012 GB, free: 13.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005139/1.253, allocations: 0.932 MB / 1.013 GB, free: 12.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00398/1.257, allocations: 2.263 MB / 1.015 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/1.257, allocations: 276.4 kB / 1.015 GB, free: 12.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003732/1.258, allocations: 297.2 kB / 1.016 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004887/1.262, allocations: 3.355 MB / 1.019 GB, free: 11.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.271e-05/1.263, allocations: 7.188 kB / 1.019 GB, free: 11.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/1.263, allocations: 117.9 kB / 1.019 GB, free: 11.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.925e-05/1.263, allocations: 103.9 kB / 1.019 GB, free: 11.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003948/1.267, allocations: 2.787 MB / 1.022 GB, free: 11.39 MB / 0.698 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.01419/1.281, allocations: 13.2 MB / 1.035 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/1.283, allocations: 1.814 MB / 1.037 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/1.285, allocations: 1.112 MB / 1.038 GB, free: 1.793 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004384/1.285, allocations: 327 kB / 1.038 GB, free: 1.496 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/1.285, allocations: 55.56 kB / 1.038 GB, free: 1.453 MB / 0.698 GB Notification: Performance of pre-optimization done (n=182): time 3.356e-06/1.285, allocations: 2.75 kB / 1.038 GB, free: 1.453 MB / 0.698 GB Notification: Performance of matching and sorting (n=182): time 0.004449/1.29, allocations: 2.723 MB / 1.041 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/1.29, allocations: 73 kB / 1.041 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/1.292, allocations: 1.998 MB / 1.043 GB, free: 320 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001855/1.292, allocations: 70.89 kB / 1.043 GB, free: 272 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008802/1.293, allocations: 1.405 MB / 1.044 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005605/1.294, allocations: 0.6414 MB / 1.045 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005198/1.294, allocations: 389.6 kB / 1.045 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.775e-05/1.294, allocations: 309 kB / 1.046 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/1.295, allocations: 0.8079 MB / 1.046 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/1.297, allocations: 1.435 MB / 1.048 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002683/1.3, allocations: 2.25 MB / 1.05 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/1.3, allocations: 4 kB / 1.05 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003623/1.303, allocations: 2.488 MB / 1.052 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/1.303, allocations: 14.41 kB / 1.052 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/1.303, allocations: 16 kB / 1.052 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/1.303, allocations: 27.94 kB / 1.052 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/1.306, allocations: 0.5506 MB / 1.053 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/1.308, allocations: 4.162 MB / 1.057 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/1.311, allocations: 355.6 kB / 1.057 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/1.311, allocations: 89.36 kB / 1.057 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002145/1.313, allocations: 1.454 MB / 1.059 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001593/1.315, allocations: 1.433 MB / 1.06 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002706/1.317, allocations: 2.231 MB / 1.062 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.306e-06/1.317, allocations: 4 kB / 1.062 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.00381/1.321, allocations: 2.477 MB / 1.065 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.321, allocations: 12 kB / 1.065 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/1.321, allocations: 12 kB / 1.065 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/1.321, allocations: 24 kB / 1.065 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/1.323, allocations: 471.7 kB / 1.065 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/1.323, allocations: 31.48 kB / 1.065 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/1.326, allocations: 347.1 kB / 1.066 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/1.326, allocations: 79.69 kB / 1.066 GB, free: 13.34 MB / 0.7292 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.0004997/1.326, allocations: 316.2 kB / 1.066 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005858/1.327, allocations: 271.4 kB / 1.066 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003365/1.33, allocations: 2.102 MB / 1.068 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/1.33, allocations: 20 kB / 1.068 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/1.33, allocations: 4 kB / 1.068 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002462/1.333, allocations: 1.877 MB / 1.07 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008667/1.342, allocations: 5.164 MB / 1.075 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.342, allocations: 0 / 1.075 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002264/1.344, allocations: 0.5022 MB / 1.076 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/1.344, allocations: 11.94 kB / 1.076 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/1.344, allocations: 51.98 kB / 1.076 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/1.346, allocations: 4.12 MB / 1.08 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.346, allocations: 4 kB / 1.08 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03324/1.379, allocations: 17.8 MB / 1.097 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/1.381, allocations: 0.5638 MB / 1.098 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004469/1.381, allocations: 43.98 kB / 1.098 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002428/1.384, allocations: 242 kB / 1.098 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003288/1.384, allocations: 120.4 kB / 1.098 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001944/1.384, allocations: 67.97 kB / 1.098 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002199/1.386, allocations: 1.334 MB / 1.1 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.61e-07/1.386, allocations: 0 / 1.1 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01033/1.397, allocations: 2.764 MB / 1.102 GB, free: 8.633 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 (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.000958/1.398, allocations: 354.8 kB / 1.103 GB, free: 8.324 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006274/1.404, allocations: 3.301 MB / 1.106 GB, free: 5.137 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.404, allocations: 4 kB / 1.106 GB, free: 5.133 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001807/1.406, allocations: 1.043 MB / 1.107 GB, free: 4.137 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008565/1.414, allocations: 1.598 MB / 1.108 GB, free: 2.543 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/1.427, allocations: 8.866 MB / 1.117 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00223/1.429, allocations: 2.245 MB / 1.119 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004199/1.433, allocations: 1.131 MB / 1.12 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008724/1.434, allocations: 227.4 kB / 1.121 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/1.434, allocations: 0 / 1.121 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of Templates: time 0.09074/1.525, allocations: 59.42 MB / 1.179 GB, free: 11.41 MB / 0.8386 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)