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.001002/0.001002, allocations: 96.78 kB / 15.36 MB, free: 0.7344 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.008564/0.008564, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.446/1.446, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8001/0.8001, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.000396, allocations: 11.98 kB / 0.504 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4612, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7356/1.197, allocations: 298.7 MB / 0.8754 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0293/1.226, allocations: 25.69 MB / 0.9005 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004368/1.231, allocations: 113.5 kB / 0.9006 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004307/1.235, allocations: 1.54 MB / 0.9021 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01451/1.249, allocations: 5.616 MB / 0.9076 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007858/1.257, allocations: 2.378 MB / 0.9099 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01616/1.273, allocations: 12.51 MB / 0.9221 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005009/1.279, allocations: 2.986 MB / 0.925 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01192/1.29, allocations: 3.549 MB / 0.9285 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006522/1.297, allocations: 2.94 MB / 0.9314 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001002/1.298, allocations: 152.6 kB / 0.9315 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01146/1.31, allocations: 5.272 MB / 0.9367 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003086/1.313, allocations: 1.418 MB / 0.9381 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006662/1.319, allocations: 1.891 MB / 0.9399 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01751/1.337, allocations: 6.752 MB / 0.9465 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.337, allocations: 0 / 0.9465 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.434e-06/1.337, allocations: 0 / 0.9465 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002229/1.337, allocations: 4 kB / 0.9465 GB, free: 3.961 MB / 0.6544 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.00673/1.344, allocations: 3.424 MB / 0.9498 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/1.344, allocations: 8.031 kB / 0.9499 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005845/1.35, allocations: 0.942 MB / 0.9508 GB, free: 15.57 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004398/1.354, allocations: 2.267 MB / 0.953 GB, free: 13.35 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/1.355, allocations: 276.1 kB / 0.9533 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000484/1.355, allocations: 292 kB / 0.9535 GB, free: 12.78 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005599/1.361, allocations: 3.365 MB / 0.9568 GB, free: 9.344 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.88e-05/1.361, allocations: 3.906 kB / 0.9568 GB, free: 9.34 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002529/1.361, allocations: 123.9 kB / 0.9569 GB, free: 9.219 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/1.361, allocations: 105.3 kB / 0.957 GB, free: 9.113 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004707/1.366, allocations: 2.796 MB / 0.9598 GB, free: 6.316 MB / 0.67 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.02141/1.387, allocations: 13.23 MB / 0.9727 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003092/1.39, allocations: 1.822 MB / 0.9745 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002448/1.393, allocations: 1.11 MB / 0.9755 GB, free: 5.258 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006038/1.393, allocations: 328 kB / 0.9759 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.646e-05/1.394, allocations: 56.56 kB / 0.9759 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=182): time 5.59e-06/1.394, allocations: 0 / 0.9759 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of matching and sorting (n=182): time 0.008142/1.402, allocations: 2.734 MB / 0.9786 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.571e-05/1.402, allocations: 73.41 kB / 0.9787 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004462/1.406, allocations: 1.998 MB / 0.9806 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004777/1.407, allocations: 65.7 kB / 0.9807 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001528/1.408, allocations: 1.412 MB / 0.982 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001152/1.41, allocations: 0.6366 MB / 0.9827 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003299/1.41, allocations: 181.5 kB / 0.9828 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.41, allocations: 305.1 kB / 0.9831 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/1.412, allocations: 0.7926 MB / 0.9839 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00264/1.415, allocations: 1.435 MB / 0.9853 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004765/1.42, allocations: 2.254 MB / 0.9875 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/1.42, allocations: 4 kB / 0.9875 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005124/1.425, allocations: 2.493 MB / 0.9899 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004734/1.425, allocations: 500 kB / 0.9904 GB, free: 5.406 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/1.425, allocations: 12 kB / 0.9904 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.902e-05/1.425, allocations: 27.94 kB / 0.9905 GB, free: 5.367 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/1.428, allocations: 0.5566 MB / 0.991 GB, free: 4.84 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/1.431, allocations: 4.156 MB / 0.9951 GB, free: 0.5352 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0038/1.434, allocations: 371.7 kB / 0.9954 GB, free: 176 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/1.435, allocations: 87.98 kB / 0.9955 GB, free: 88 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/1.435, allocations: 11.59 kB / 0.9955 GB, free: 80 kB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003419/1.438, allocations: 2.218 MB / 0.9977 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/1.438, allocations: 12 kB / 0.9977 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/1.438, allocations: 24 kB / 0.9977 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/1.44, allocations: 470.4 kB / 0.9982 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.41e-05/1.44, allocations: 31.17 kB / 0.9982 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003277/1.443, allocations: 343.7 kB / 0.9985 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/1.443, allocations: 84 kB / 0.9986 GB, free: 13.03 MB / 0.7169 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.001686/1.445, allocations: 0.8641 MB / 0.9994 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006168/1.446, allocations: 276.7 kB / 0.9997 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003516/1.449, allocations: 2.095 MB / 1.002 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/1.449, allocations: 27.91 kB / 1.002 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/1.449, allocations: 0 / 1.002 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002636/1.452, allocations: 1.881 MB / 1.004 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009494/1.461, allocations: 5.163 MB / 1.009 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/1.462, allocations: 4 kB / 1.009 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002389/1.464, allocations: 0.5052 MB / 1.009 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.223e-05/1.464, allocations: 12 kB / 1.009 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/1.464, allocations: 51.91 kB / 1.009 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/1.466, allocations: 4.121 MB / 1.013 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/1.466, allocations: 11.25 kB / 1.013 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00506/1.471, allocations: 3.377 MB / 1.017 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002265/1.474, allocations: 0.5716 MB / 1.017 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006828/1.474, allocations: 36 kB / 1.017 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002587/1.477, allocations: 250.6 kB / 1.017 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/1.477, allocations: 120.6 kB / 1.017 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/1.477, allocations: 67.97 kB / 1.018 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002197/1.48, allocations: 1.334 MB / 1.019 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4e-07/1.48, allocations: 3.938 kB / 1.019 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005003/1.485, allocations: 1.714 MB / 1.021 GB, free: 6.273 MB / 0.7325 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.0008825/1.485, allocations: 362.7 kB / 1.021 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006345/1.492, allocations: 3.305 MB / 1.024 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.492, allocations: 0 / 1.024 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00183/1.494, allocations: 1.033 MB / 1.025 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009737/1.503, allocations: 1.596 MB / 1.027 GB, free: 212 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/1.515, allocations: 8.117 MB / 1.035 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/1.517, allocations: 2.193 MB / 1.037 GB, free: 5.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003957/1.521, allocations: 1.088 MB / 1.038 GB, free: 4.727 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000625/1.521, allocations: 215.4 kB / 1.038 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of SimCode: time 9.12e-07/1.521, allocations: 4 kB / 1.038 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of Templates: time 0.09133/1.613, allocations: 52.86 MB / 1.09 GB, free: 0.5078 MB / 0.795 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)