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.000995/0.000995, allocations: 108.5 kB / 15.99 MB, free: 6.367 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.001058/0.001058, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.289/1.289, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7597/0.7597, allocations: 132.2 MB / 422.9 MB, free: 6.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 59.91 kB / 0.5019 GB, free: 11.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4564/0.4575, allocations: 80.19 MB / 0.5802 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7318/1.189, allocations: 301.6 MB / 0.8747 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0403/1.23, allocations: 25.64 MB / 0.8998 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006349/1.236, allocations: 117.8 kB / 0.8999 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.006207/1.242, allocations: 1.586 MB / 0.9014 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01867/1.261, allocations: 5.608 MB / 0.9069 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00804/1.269, allocations: 2.4 MB / 0.9093 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01387/1.283, allocations: 8.887 MB / 0.9179 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006941/1.29, allocations: 3.526 MB / 0.9214 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01462/1.305, allocations: 4.159 MB / 0.9254 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006998/1.312, allocations: 3.154 MB / 0.9285 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001934/1.314, allocations: 360 kB / 0.9289 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01267/1.326, allocations: 4.828 MB / 0.9336 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003474/1.33, allocations: 1.652 MB / 0.9352 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006069/1.336, allocations: 2.131 MB / 0.9373 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009598/1.346, allocations: 5.122 MB / 0.9423 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.346, allocations: 0 / 0.9423 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.52e-07/1.346, allocations: 0 / 0.9423 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002693/1.346, allocations: 0 / 0.9423 GB, free: 0.8945 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.01106/1.357, allocations: 4.183 MB / 0.9464 GB, free: 12.64 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.357, allocations: 12.03 kB / 0.9464 GB, free: 12.63 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00665/1.364, allocations: 0.9321 MB / 0.9473 GB, free: 11.69 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005998/1.37, allocations: 2.26 MB / 0.9495 GB, free: 9.355 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003356/1.37, allocations: 281.2 kB / 0.9498 GB, free: 9.066 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/1.371, allocations: 291.9 kB / 0.95 GB, free: 8.781 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00861/1.38, allocations: 3.351 MB / 0.9533 GB, free: 5.344 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.952e-05/1.38, allocations: 8 kB / 0.9533 GB, free: 5.336 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000599/1.38, allocations: 112 kB / 0.9534 GB, free: 5.227 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/1.381, allocations: 125.2 kB / 0.9535 GB, free: 5.102 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005651/1.386, allocations: 2.785 MB / 0.9563 GB, free: 2.305 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.01969/1.406, allocations: 13.19 MB / 0.9691 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/1.409, allocations: 1.826 MB / 0.9709 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/1.411, allocations: 1.102 MB / 0.972 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005828/1.411, allocations: 333.2 kB / 0.9723 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.966e-05/1.411, allocations: 60.56 kB / 0.9724 GB, free: 0.5547 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=182): time 5.991e-06/1.411, allocations: 3.938 kB / 0.9724 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of matching and sorting (n=182): time 0.006412/1.418, allocations: 2.711 MB / 0.975 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/1.418, allocations: 73.41 kB / 0.9751 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003693/1.422, allocations: 2.001 MB / 0.9771 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003025/1.422, allocations: 69.7 kB / 0.9771 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/1.423, allocations: 1.406 MB / 0.9785 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000857/1.424, allocations: 0.6392 MB / 0.9791 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00075/1.425, allocations: 399.2 kB / 0.9795 GB, free: 9.188 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.425, allocations: 305.1 kB / 0.9798 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/1.426, allocations: 0.8052 MB / 0.9806 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/1.428, allocations: 1.431 MB / 0.982 GB, free: 6.367 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003109/1.431, allocations: 2.248 MB / 0.9842 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.776e-05/1.431, allocations: 8 kB / 0.9842 GB, free: 3.93 MB / 0.7012 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004277/1.436, allocations: 2.494 MB / 0.9866 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/1.436, allocations: 12 kB / 0.9866 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/1.436, allocations: 12 kB / 0.9866 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.866e-05/1.436, allocations: 24 kB / 0.9867 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/1.438, allocations: 0.5506 MB / 0.9872 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/1.441, allocations: 4.157 MB / 0.9913 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/1.444, allocations: 374.9 kB / 0.9916 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002358/1.444, allocations: 83.98 kB / 0.9917 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002809/1.447, allocations: 1.46 MB / 0.9931 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001936/1.449, allocations: 1.42 MB / 0.9945 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00327/1.452, allocations: 2.24 MB / 0.9967 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.631e-05/1.452, allocations: 4 kB / 0.9967 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004662/1.457, allocations: 2.462 MB / 0.9991 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.457, allocations: 14.03 kB / 0.9991 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/1.457, allocations: 12.84 kB / 0.9991 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/1.457, allocations: 24 kB / 0.9991 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/1.459, allocations: 475.3 kB / 0.9996 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.104e-05/1.459, allocations: 31.92 kB / 0.9996 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/1.462, allocations: 332 kB / 0.9999 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/1.463, allocations: 95.92 kB / 1 GB, free: 3.043 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.000674/1.463, allocations: 315.6 kB / 1 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009227/1.464, allocations: 272.7 kB / 1.001 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003943/1.468, allocations: 2.095 MB / 1.003 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/1.468, allocations: 16 kB / 1.003 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/1.468, allocations: 8 kB / 1.003 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002701/1.471, allocations: 1.882 MB / 1.005 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/1.482, allocations: 5.162 MB / 1.01 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/1.482, allocations: 8.359 kB / 1.01 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002345/1.484, allocations: 0.5071 MB / 1.01 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.733e-05/1.484, allocations: 8 kB / 1.01 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/1.484, allocations: 55.97 kB / 1.01 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/1.487, allocations: 4.126 MB / 1.014 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.485e-06/1.487, allocations: 7.938 kB / 1.014 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007676/1.494, allocations: 3.355 MB / 1.017 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002254/1.497, allocations: 0.5638 MB / 1.018 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007848/1.497, allocations: 47.92 kB / 1.018 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003543/1.501, allocations: 242.6 kB / 1.018 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002931/1.501, allocations: 109.8 kB / 1.018 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002419/1.501, allocations: 79.95 kB / 1.018 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003789/1.505, allocations: 1.326 MB / 1.02 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.876e-06/1.505, allocations: 0 / 1.02 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.007459/1.513, allocations: 1.725 MB / 1.021 GB, free: 12.72 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.001139/1.514, allocations: 355.6 kB / 1.022 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01422/1.528, allocations: 4.638 MB / 1.026 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/1.528, allocations: 0 / 1.026 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002644/1.531, allocations: 1.026 MB / 1.027 GB, free: 6.727 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009454/1.54, allocations: 1.538 MB / 1.029 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3274/1.868, allocations: 7.998 MB / 1.037 GB, free: 321.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00255/1.87, allocations: 2.192 MB / 1.039 GB, free: 320.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/1.871, allocations: 231.5 kB / 1.039 GB, free: 320.9 MB / 0.7481 GB Notification: Performance of SimCode: time 9.32e-07/1.871, allocations: 0 / 1.039 GB, free: 320.9 MB / 0.7481 GB Notification: Performance of Templates: time 0.1211/1.993, allocations: 140.8 MB / 1.176 GB, free: 196.3 MB / 0.7481 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)