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.005368/0.005368, allocations: 101.1 kB / 15.73 MB, free: 5.992 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.00117/0.00117, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.324/1.324, allocations: 222.9 MB / 240.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7777/0.7777, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 62.91 kB / 0.5856 GB, free: 21.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1604, allocations: 80.94 MB / 0.6646 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7253/0.8858, allocations: 305.1 MB / 0.9626 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03371/0.9196, allocations: 25.79 MB / 0.9878 GB, free: 3.887 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005211/0.9248, allocations: 127.2 kB / 0.9879 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005012/0.9299, allocations: 1.857 MB / 0.9897 GB, free: 1.895 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01779/0.9478, allocations: 6.188 MB / 0.9958 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.008573/0.9564, allocations: 2.643 MB / 0.9984 GB, free: 9.059 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01256/0.9689, allocations: 8.905 MB / 1.007 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006233/0.9752, allocations: 3.634 MB / 1.011 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01159/0.9868, allocations: 4.296 MB / 1.015 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006229/0.9931, allocations: 2.964 MB / 1.018 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001588/0.9947, allocations: 360 kB / 1.018 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/1.005, allocations: 4.618 MB / 1.023 GB, free: 216 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002869/1.008, allocations: 1.648 MB / 1.024 GB, free: 14.56 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.005857/1.014, allocations: 2.131 MB / 1.026 GB, free: 12.42 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01499/1.029, allocations: 6.762 MB / 1.033 GB, free: 5.637 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.029, allocations: 0 / 1.033 GB, free: 5.637 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.974e-06/1.029, allocations: 0 / 1.033 GB, free: 5.637 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001345/1.029, allocations: 4 kB / 1.033 GB, free: 5.633 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.00774/1.037, allocations: 4.176 MB / 1.037 GB, free: 1.387 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.037, allocations: 9.109 kB / 1.037 GB, free: 1.379 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00587/1.043, allocations: 0.9322 MB / 1.038 GB, free: 452 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005242/1.048, allocations: 2.397 MB / 1.04 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002956/1.048, allocations: 281.2 kB / 1.04 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007063/1.049, allocations: 287.9 kB / 1.041 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00613/1.055, allocations: 3.355 MB / 1.044 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-05/1.055, allocations: 0 / 1.044 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002991/1.056, allocations: 123.9 kB / 1.044 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/1.056, allocations: 109.3 kB / 1.044 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004861/1.061, allocations: 2.788 MB / 1.047 GB, free: 6.922 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.3864/1.447, allocations: 13.22 MB / 1.06 GB, free: 305.1 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/1.45, allocations: 1.824 MB / 1.062 GB, free: 304.6 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/1.452, allocations: 1.105 MB / 1.063 GB, free: 304.2 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005106/1.452, allocations: 328.9 kB / 1.063 GB, free: 303.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/1.453, allocations: 58.47 kB / 1.063 GB, free: 303.9 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=182): time 5.23e-06/1.453, allocations: 0.5938 kB / 1.063 GB, free: 303.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=182): time 0.006424/1.459, allocations: 2.723 MB / 1.066 GB, free: 303 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/1.459, allocations: 72.11 kB / 1.066 GB, free: 302.9 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003772/1.463, allocations: 2.004 MB / 1.068 GB, free: 302.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003961/1.463, allocations: 66.7 kB / 1.068 GB, free: 302.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/1.464, allocations: 1.407 MB / 1.069 GB, free: 301.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007456/1.465, allocations: 0.6447 MB / 1.07 GB, free: 300.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000626/1.466, allocations: 386.6 kB / 1.07 GB, free: 300.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 4.823e-05/1.466, allocations: 301.1 kB / 1.07 GB, free: 300.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/1.467, allocations: 0.8063 MB / 1.071 GB, free: 299.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/1.469, allocations: 1.439 MB / 1.073 GB, free: 298.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003014/1.472, allocations: 2.249 MB / 1.075 GB, free: 297.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/1.472, allocations: 3.656 kB / 1.075 GB, free: 297.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004184/1.476, allocations: 2.492 MB / 1.077 GB, free: 296.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/1.476, allocations: 11.44 kB / 1.077 GB, free: 296.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/1.476, allocations: 15.34 kB / 1.077 GB, free: 296.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.399e-05/1.476, allocations: 25.75 kB / 1.077 GB, free: 296.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/1.479, allocations: 0.5523 MB / 1.078 GB, free: 296.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/1.481, allocations: 4.155 MB / 1.082 GB, free: 292.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/1.483, allocations: 216.5 kB / 1.082 GB, free: 292.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/1.483, allocations: 87.28 kB / 1.082 GB, free: 292.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002537/1.486, allocations: 1.464 MB / 1.084 GB, free: 291.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001499/1.488, allocations: 1.424 MB / 1.085 GB, free: 290.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002725/1.49, allocations: 2.236 MB / 1.087 GB, free: 289.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.228e-05/1.49, allocations: 7.906 kB / 1.087 GB, free: 289.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004369/1.495, allocations: 2.465 MB / 1.09 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.495, allocations: 13.78 kB / 1.09 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/1.495, allocations: 14.8 kB / 1.09 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.495, allocations: 23.81 kB / 1.09 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/1.496, allocations: 477.6 kB / 1.09 GB, free: 288.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.317e-05/1.496, allocations: 31.14 kB / 1.09 GB, free: 288.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/1.499, allocations: 196.6 kB / 1.09 GB, free: 288.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/1.499, allocations: 91.08 kB / 1.09 GB, free: 288.1 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.0005777/1.5, allocations: 311.3 kB / 1.091 GB, free: 287.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005237/1.5, allocations: 267.4 kB / 1.091 GB, free: 287.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002833/1.503, allocations: 2.103 MB / 1.093 GB, free: 286.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.503, allocations: 22.12 kB / 1.093 GB, free: 286.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.503, allocations: 3.062 kB / 1.093 GB, free: 286.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002054/1.505, allocations: 1.88 MB / 1.095 GB, free: 286 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007195/1.512, allocations: 5.165 MB / 1.1 GB, free: 282.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.512, allocations: 1.75 kB / 1.1 GB, free: 282.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002135/1.515, allocations: 0.5047 MB / 1.1 GB, free: 282.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/1.515, allocations: 6.906 kB / 1.1 GB, free: 282.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/1.515, allocations: 56.62 kB / 1.101 GB, free: 282.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/1.516, allocations: 4.122 MB / 1.105 GB, free: 278.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/1.516, allocations: 4.594 kB / 1.105 GB, free: 278.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004142/1.52, allocations: 3.363 MB / 1.108 GB, free: 276.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.521, allocations: 0.5602 MB / 1.108 GB, free: 276.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002924/1.522, allocations: 49.36 kB / 1.108 GB, free: 276.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/1.523, allocations: 81.52 kB / 1.109 GB, free: 276.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/1.523, allocations: 113.8 kB / 1.109 GB, free: 276.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/1.523, allocations: 73.31 kB / 1.109 GB, free: 276.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001501/1.525, allocations: 1.333 MB / 1.11 GB, free: 275.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.81e-07/1.525, allocations: 0 / 1.11 GB, free: 275.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003823/1.529, allocations: 1.708 MB / 1.112 GB, free: 273.7 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.0007298/1.529, allocations: 362.9 kB / 1.112 GB, free: 273.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005/1.534, allocations: 3.316 MB / 1.115 GB, free: 270.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.534, allocations: 4 kB / 1.115 GB, free: 270.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/1.536, allocations: 1.024 MB / 1.116 GB, free: 269.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005388/1.541, allocations: 1.529 MB / 1.118 GB, free: 267.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007544/1.549, allocations: 6.48 MB / 1.124 GB, free: 261.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/1.55, allocations: 2.197 MB / 1.126 GB, free: 259 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002871/1.553, allocations: 1.084 MB / 1.127 GB, free: 257.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005418/1.553, allocations: 211.4 kB / 1.127 GB, free: 257.7 MB / 0.8106 GB Notification: Performance of SimCode: time 1.062e-06/1.553, allocations: 0 / 1.127 GB, free: 257.7 MB / 0.8106 GB Notification: Performance of Templates: time 0.06889/1.622, allocations: 54.93 MB / 1.181 GB, free: 203.4 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)