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.001048/0.001048, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7534/0.7534, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 69.58 kB / 0.5018 GB, free: 3.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4063, allocations: 80.2 MB / 0.5801 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7105/1.117, allocations: 305.1 MB / 0.878 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03156/1.148, allocations: 25.79 MB / 0.9032 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004811/1.153, allocations: 127.8 kB / 0.9033 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.006155/1.159, allocations: 1.808 MB / 0.9051 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01546/1.175, allocations: 5.95 MB / 0.9109 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006631/1.182, allocations: 2.595 MB / 0.9135 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01111/1.193, allocations: 8.892 MB / 0.9221 GB, free: 288 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005092/1.198, allocations: 3.637 MB / 0.9257 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01465/1.213, allocations: 4.131 MB / 0.9297 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006981/1.22, allocations: 2.96 MB / 0.9326 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001582/1.221, allocations: 360 kB / 0.933 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01564/1.237, allocations: 4.604 MB / 0.9375 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0035/1.24, allocations: 1.636 MB / 0.9391 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00591/1.246, allocations: 2.136 MB / 0.9411 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01411/1.26, allocations: 6.684 MB / 0.9477 GB, free: 14.51 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.26, allocations: 0 / 0.9477 GB, free: 14.51 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.154e-06/1.26, allocations: 4 kB / 0.9477 GB, free: 14.51 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002459/1.261, allocations: 4 kB / 0.9477 GB, free: 14.5 MB / 0.67 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.01016/1.271, allocations: 4.17 MB / 0.9517 GB, free: 10.31 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/1.271, allocations: 14.84 kB / 0.9518 GB, free: 10.3 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006238/1.277, allocations: 0.9264 MB / 0.9527 GB, free: 9.375 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004815/1.282, allocations: 2.264 MB / 0.9549 GB, free: 7.156 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/1.282, allocations: 279.4 kB / 0.9551 GB, free: 6.871 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007997/1.283, allocations: 295.8 kB / 0.9554 GB, free: 6.586 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006855/1.29, allocations: 3.365 MB / 0.9587 GB, free: 3.145 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-05/1.29, allocations: 4 kB / 0.9587 GB, free: 3.141 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002825/1.29, allocations: 110.1 kB / 0.9588 GB, free: 3.035 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/1.291, allocations: 109.3 kB / 0.9589 GB, free: 2.926 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004717/1.295, allocations: 2.789 MB / 0.9616 GB, free: 140 kB / 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.01903/1.314, allocations: 13.33 MB / 0.9747 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/1.317, allocations: 1.82 MB / 0.9764 GB, free: 80 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/1.318, allocations: 1.097 MB / 0.9775 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004532/1.319, allocations: 336.2 kB / 0.9778 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/1.319, allocations: 56.56 kB / 0.9779 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=182): time 3.897e-06/1.319, allocations: 4 kB / 0.9779 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.004818/1.324, allocations: 2.721 MB / 0.9805 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/1.324, allocations: 76.03 kB / 0.9806 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/1.326, allocations: 1.994 MB / 0.9826 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002095/1.326, allocations: 69.7 kB / 0.9826 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000956/1.327, allocations: 1.411 MB / 0.984 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006575/1.328, allocations: 0.6372 MB / 0.9846 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005148/1.329, allocations: 391.2 kB / 0.985 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.805e-05/1.329, allocations: 301.1 kB / 0.9853 GB, free: 6.906 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/1.33, allocations: 0.8052 MB / 0.9861 GB, free: 6.09 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/1.331, allocations: 1.437 MB / 0.9875 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002876/1.334, allocations: 2.255 MB / 0.9897 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/1.334, allocations: 4 kB / 0.9897 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003989/1.338, allocations: 2.493 MB / 0.9921 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/1.338, allocations: 12.94 kB / 0.9921 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/1.338, allocations: 16 kB / 0.9922 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.611e-05/1.338, allocations: 24 kB / 0.9922 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002422/1.341, allocations: 0.5568 MB / 0.9927 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/1.343, allocations: 4.153 MB / 0.9968 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002778/1.346, allocations: 228.6 kB / 0.997 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/1.346, allocations: 91.98 kB / 0.9971 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002287/1.348, allocations: 1.456 MB / 0.9985 GB, free: 8.926 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001591/1.35, allocations: 1.425 MB / 0.9999 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002759/1.353, allocations: 2.23 MB / 1.002 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.386e-06/1.353, allocations: 4 kB / 1.002 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.003964/1.357, allocations: 2.468 MB / 1.004 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/1.357, allocations: 12 kB / 1.004 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/1.357, allocations: 12 kB / 1.005 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/1.357, allocations: 28.06 kB / 1.005 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/1.358, allocations: 471.3 kB / 1.005 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.06e-05/1.358, allocations: 34.27 kB / 1.005 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002598/1.361, allocations: 194.9 kB / 1.005 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/1.361, allocations: 91.92 kB / 1.005 GB, free: 1.688 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.0005974/1.362, allocations: 310.2 kB / 1.006 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008067/1.363, allocations: 268.8 kB / 1.006 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003665/1.366, allocations: 2.099 MB / 1.008 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/1.366, allocations: 23.97 kB / 1.008 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.366, allocations: 0 / 1.008 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002649/1.369, allocations: 1.876 MB / 1.01 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00993/1.379, allocations: 5.163 MB / 1.015 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/1.379, allocations: 15.25 kB / 1.015 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/1.381, allocations: 499.7 kB / 1.015 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.329e-05/1.381, allocations: 8 kB / 1.015 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/1.382, allocations: 59.25 kB / 1.015 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/1.384, allocations: 4.129 MB / 1.019 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.384, allocations: 4 kB / 1.019 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004975/1.389, allocations: 3.359 MB / 1.023 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/1.39, allocations: 0.5677 MB / 1.023 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006336/1.391, allocations: 43.98 kB / 1.023 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/1.393, allocations: 82.36 kB / 1.023 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/1.393, allocations: 124.8 kB / 1.023 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/1.393, allocations: 67.97 kB / 1.024 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002302/1.396, allocations: 1.334 MB / 1.025 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.396, allocations: 0 / 1.025 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004792/1.4, allocations: 1.714 MB / 1.026 GB, free: 11.68 MB / 0.7481 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.0009305/1.401, allocations: 352.5 kB / 1.027 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009596/1.411, allocations: 4.634 MB / 1.031 GB, free: 6.871 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.411, allocations: 6.344 kB / 1.031 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001852/1.413, allocations: 1.024 MB / 1.032 GB, free: 5.883 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007893/1.421, allocations: 1.537 MB / 1.034 GB, free: 4.414 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/1.432, allocations: 6.554 MB / 1.04 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002498/1.435, allocations: 2.197 MB / 1.042 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004233/1.439, allocations: 1.08 MB / 1.043 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000857/1.44, allocations: 219.4 kB / 1.044 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of SimCode: time 8.11e-07/1.44, allocations: 0 / 1.044 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of Templates: time 0.09275/1.532, allocations: 54.39 MB / 1.097 GB, free: 4.816 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)