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.001645/0.001645, allocations: 107 kB / 16.41 MB, free: 6.492 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.001846/0.001846, allocations: 189.5 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.528/1.528, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8065/0.8065, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 62.28 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1875, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7737/0.9613, allocations: 305.1 MB / 0.9583 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05638/1.018, allocations: 25.79 MB / 0.9835 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006034/1.024, allocations: 131.2 kB / 0.9836 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.006274/1.03, allocations: 1.798 MB / 0.9854 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01939/1.05, allocations: 5.953 MB / 0.9912 GB, free: 2.727 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00853/1.058, allocations: 2.627 MB / 0.9937 GB, free: 124 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01488/1.073, allocations: 8.891 MB / 1.002 GB, free: 7.203 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007557/1.081, allocations: 3.643 MB / 1.006 GB, free: 3.48 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01289/1.094, allocations: 4.218 MB / 1.01 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006919/1.101, allocations: 2.963 MB / 1.013 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001797/1.102, allocations: 360 kB / 1.013 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01124/1.114, allocations: 4.599 MB / 1.018 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003083/1.117, allocations: 1.64 MB / 1.019 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.006103/1.123, allocations: 2.135 MB / 1.022 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01694/1.14, allocations: 6.758 MB / 1.028 GB, free: 12.81 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/1.14, allocations: 0 / 1.028 GB, free: 12.81 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.956e-06/1.14, allocations: 0 / 1.028 GB, free: 12.81 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002792/1.14, allocations: 0 / 1.028 GB, free: 12.81 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.01256/1.153, allocations: 4.176 MB / 1.032 GB, free: 8.562 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/1.153, allocations: 12.03 kB / 1.032 GB, free: 8.551 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006547/1.159, allocations: 0.9361 MB / 1.033 GB, free: 7.609 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006814/1.166, allocations: 2.4 MB / 1.035 GB, free: 5.133 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003453/1.167, allocations: 277.3 kB / 1.036 GB, free: 4.848 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/1.168, allocations: 291.9 kB / 1.036 GB, free: 4.562 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00892/1.177, allocations: 3.352 MB / 1.039 GB, free: 1.125 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-05/1.177, allocations: 3.938 kB / 1.039 GB, free: 1.121 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005735/1.177, allocations: 120 kB / 1.039 GB, free: 1.004 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/1.177, allocations: 109.3 kB / 1.039 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005819/1.183, allocations: 2.788 MB / 1.042 GB, free: 14.09 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.4663/1.65, allocations: 13.23 MB / 1.055 GB, free: 313.1 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003511/1.653, allocations: 1.814 MB / 1.057 GB, free: 313.1 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00169/1.655, allocations: 1.104 MB / 1.058 GB, free: 313.1 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004818/1.655, allocations: 325.8 kB / 1.058 GB, free: 312.8 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/1.655, allocations: 62.58 kB / 1.058 GB, free: 312.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=182): time 4.268e-06/1.655, allocations: 0 / 1.058 GB, free: 312.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=182): time 0.005629/1.661, allocations: 2.72 MB / 1.061 GB, free: 312 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/1.661, allocations: 76.7 kB / 1.061 GB, free: 312 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003794/1.665, allocations: 1.997 MB / 1.063 GB, free: 311.3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0004531/1.665, allocations: 67.62 kB / 1.063 GB, free: 311.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001655/1.667, allocations: 1.407 MB / 1.064 GB, free: 310.4 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009265/1.668, allocations: 0.6421 MB / 1.065 GB, free: 309.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007404/1.669, allocations: 394.5 kB / 1.065 GB, free: 309.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.037e-05/1.669, allocations: 304.3 kB / 1.066 GB, free: 309.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/1.67, allocations: 0.8044 MB / 1.067 GB, free: 309.1 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/1.672, allocations: 1.439 MB / 1.068 GB, free: 308.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003045/1.675, allocations: 2.249 MB / 1.07 GB, free: 306.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/1.675, allocations: 6.25 kB / 1.07 GB, free: 306.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004746/1.68, allocations: 2.489 MB / 1.073 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/1.68, allocations: 14.75 kB / 1.073 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/1.68, allocations: 16.16 kB / 1.073 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.646e-05/1.68, allocations: 23.67 kB / 1.073 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/1.683, allocations: 0.5567 MB / 1.073 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/1.684, allocations: 4.154 MB / 1.077 GB, free: 301.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/1.687, allocations: 219.7 kB / 1.077 GB, free: 301.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/1.687, allocations: 88.34 kB / 1.078 GB, free: 301.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002849/1.69, allocations: 1.46 MB / 1.079 GB, free: 300.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00176/1.692, allocations: 1.436 MB / 1.08 GB, free: 299.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002952/1.695, allocations: 2.227 MB / 1.083 GB, free: 298.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-05/1.695, allocations: 4.125 kB / 1.083 GB, free: 298.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.00437/1.699, allocations: 2.471 MB / 1.085 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/1.699, allocations: 13.77 kB / 1.085 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/1.699, allocations: 12.81 kB / 1.085 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/1.7, allocations: 23.81 kB / 1.085 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/1.701, allocations: 473.2 kB / 1.085 GB, free: 297.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.185e-05/1.701, allocations: 30.22 kB / 1.085 GB, free: 297.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/1.704, allocations: 203.4 kB / 1.086 GB, free: 297.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/1.704, allocations: 85.52 kB / 1.086 GB, free: 297.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.0005906/1.705, allocations: 321.2 kB / 1.086 GB, free: 297.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005393/1.705, allocations: 268.4 kB / 1.086 GB, free: 297 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002979/1.708, allocations: 2.097 MB / 1.088 GB, free: 296.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/1.708, allocations: 15.84 kB / 1.088 GB, free: 296.1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.708, allocations: 0 / 1.088 GB, free: 296.1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002077/1.71, allocations: 1.887 MB / 1.09 GB, free: 295.3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007286/1.718, allocations: 5.157 MB / 1.095 GB, free: 293.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/1.718, allocations: 3.969 kB / 1.095 GB, free: 293.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002138/1.72, allocations: 0.5035 MB / 1.096 GB, free: 293.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/1.72, allocations: 11.88 kB / 1.096 GB, free: 293.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/1.72, allocations: 51.34 kB / 1.096 GB, free: 293 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/1.721, allocations: 4.121 MB / 1.1 GB, free: 288.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.721, allocations: 7.656 kB / 1.1 GB, free: 288.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004065/1.725, allocations: 3.365 MB / 1.103 GB, free: 287.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/1.727, allocations: 0.5597 MB / 1.104 GB, free: 286.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003051/1.727, allocations: 42.03 kB / 1.104 GB, free: 286.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/1.728, allocations: 92.27 kB / 1.104 GB, free: 286.6 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/1.729, allocations: 114.9 kB / 1.104 GB, free: 286.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/1.729, allocations: 73.95 kB / 1.104 GB, free: 286.6 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001612/1.73, allocations: 1.335 MB / 1.105 GB, free: 285.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.21e-07/1.73, allocations: 0 / 1.105 GB, free: 285.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003541/1.734, allocations: 1.714 MB / 1.107 GB, free: 285.5 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.0007118/1.735, allocations: 357.8 kB / 1.107 GB, free: 285.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00501/1.74, allocations: 3.314 MB / 1.111 GB, free: 281.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/1.74, allocations: 0 / 1.111 GB, free: 281.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/1.741, allocations: 1.022 MB / 1.112 GB, free: 280.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006512/1.748, allocations: 1.532 MB / 1.113 GB, free: 279.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00826/1.756, allocations: 6.685 MB / 1.12 GB, free: 272.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/1.757, allocations: 2.193 MB / 1.122 GB, free: 270.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008971/1.758, allocations: 231.4 kB / 1.122 GB, free: 270.5 MB / 0.8106 GB Notification: Performance of SimCode: time 6.41e-07/1.758, allocations: 0 / 1.122 GB, free: 270.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.1097/1.868, allocations: 141.6 MB / 1.26 GB, free: 128.9 MB / 0.8106 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)