Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001254/0.001254, allocations: 118.9 kB / 17.09 MB, free: 5.984 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.001245/0.001246, allocations: 198.9 kB / 18.02 MB, free: 5.066 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.266/1.266, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6873/0.6873, allocations: 115.3 MB / 407.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 65.38 kB / 0.5583 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1373, allocations: 76.17 MB / 0.6327 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6203/0.7576, allocations: 305.1 MB / 0.9307 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03511/0.7927, allocations: 25.83 MB / 0.9559 GB, free: 1.027 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004743/0.7975, allocations: 131.2 kB / 0.956 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005615/0.8032, allocations: 1.79 MB / 0.9578 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01619/0.8194, allocations: 5.97 MB / 0.9636 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007497/0.8269, allocations: 2.632 MB / 0.9662 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01272/0.8397, allocations: 8.912 MB / 0.9749 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006264/0.846, allocations: 3.618 MB / 0.9784 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01096/0.857, allocations: 4.215 MB / 0.9825 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005618/0.8626, allocations: 2.96 MB / 0.9854 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001008/0.8636, allocations: 360 kB / 0.9858 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009834/0.8735, allocations: 4.599 MB / 0.9903 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002777/0.8763, allocations: 1.648 MB / 0.9919 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.004493/0.8808, allocations: 2.127 MB / 0.994 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.8935, allocations: 6.746 MB / 1.001 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.8935, allocations: 0 / 1.001 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8936, allocations: 0 / 1.001 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001761/0.8937, allocations: 0 / 1.001 GB, free: 3.199 MB / 0.7481 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.007739/0.9015, allocations: 4.174 MB / 1.005 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.9016, allocations: 11.97 kB / 1.005 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005539/0.9071, allocations: 0.9399 MB / 1.006 GB, free: 14 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005328/0.9125, allocations: 2.404 MB / 1.008 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/0.9128, allocations: 273.2 kB / 1.008 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006771/0.9135, allocations: 284 kB / 1.008 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006223/0.9197, allocations: 3.37 MB / 1.012 GB, free: 7.504 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.636e-05/0.9198, allocations: 3.906 kB / 1.012 GB, free: 7.5 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/0.92, allocations: 116 kB / 1.012 GB, free: 7.387 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.9202, allocations: 109.3 kB / 1.012 GB, free: 7.277 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00472/0.9249, allocations: 2.8 MB / 1.015 GB, free: 4.465 MB / 0.7637 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.01619/0.9411, allocations: 13.26 MB / 1.028 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.9436, allocations: 1.681 MB / 1.029 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.945, allocations: 1.106 MB / 1.03 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004616/0.9455, allocations: 329.2 kB / 1.031 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.9456, allocations: 60.5 kB / 1.031 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=182): time 4.618e-06/0.9456, allocations: 4 kB / 1.031 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of matching and sorting (n=182): time 0.004794/0.9504, allocations: 2.731 MB / 1.033 GB, free: 48 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.9505, allocations: 73.41 kB / 1.033 GB, free: 15.96 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/0.9531, allocations: 1.994 MB / 1.035 GB, free: 13.95 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002174/0.9534, allocations: 69.7 kB / 1.035 GB, free: 13.88 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.9544, allocations: 1.414 MB / 1.037 GB, free: 12.45 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006269/0.955, allocations: 0.6353 MB / 1.037 GB, free: 11.8 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000521/0.9556, allocations: 387.3 kB / 1.038 GB, free: 11.41 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.9557, allocations: 301.1 kB / 1.038 GB, free: 11.12 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.9569, allocations: 0.813 MB / 1.039 GB, free: 10.29 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.9585, allocations: 1.411 MB / 1.04 GB, free: 8.633 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002916/0.9614, allocations: 2.256 MB / 1.043 GB, free: 6.195 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.9614, allocations: 4 kB / 1.043 GB, free: 6.191 MB / 0.795 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004013/0.9655, allocations: 2.501 MB / 1.045 GB, free: 3.68 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.9655, allocations: 12 kB / 1.045 GB, free: 3.668 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.9655, allocations: 12 kB / 1.045 GB, free: 3.656 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.744e-05/0.9656, allocations: 28.72 kB / 1.045 GB, free: 3.629 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/0.9679, allocations: 0.5656 MB / 1.046 GB, free: 3.062 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3125/1.28, allocations: 4.14 MB / 1.05 GB, free: 319.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/1.283, allocations: 218.6 kB / 1.05 GB, free: 319.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002712/1.284, allocations: 92.12 kB / 1.05 GB, free: 319.4 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003003/1.287, allocations: 1.463 MB / 1.051 GB, free: 319.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001688/1.288, allocations: 1.399 MB / 1.053 GB, free: 318.7 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003081/1.292, allocations: 2.243 MB / 1.055 GB, free: 317.9 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.07e-05/1.292, allocations: 3.812 kB / 1.055 GB, free: 317.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004436/1.296, allocations: 2.48 MB / 1.057 GB, free: 317.1 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.296, allocations: 11.69 kB / 1.057 GB, free: 317.1 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/1.296, allocations: 12.55 kB / 1.057 GB, free: 317.1 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/1.296, allocations: 23.56 kB / 1.057 GB, free: 317.1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/1.298, allocations: 473.9 kB / 1.058 GB, free: 317 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.383e-05/1.298, allocations: 33.31 kB / 1.058 GB, free: 317 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/1.3, allocations: 193.2 kB / 1.058 GB, free: 317 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/1.3, allocations: 85.06 kB / 1.058 GB, free: 317 MB / 0.795 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.0005362/1.301, allocations: 317.3 kB / 1.058 GB, free: 316.7 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004852/1.301, allocations: 271.9 kB / 1.059 GB, free: 316.7 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/1.305, allocations: 2.105 MB / 1.061 GB, free: 315.8 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/1.305, allocations: 24.09 kB / 1.061 GB, free: 315.8 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.305, allocations: 1.281 kB / 1.061 GB, free: 315.8 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002843/1.308, allocations: 1.883 MB / 1.063 GB, free: 315 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008382/1.317, allocations: 5.183 MB / 1.068 GB, free: 312.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/1.317, allocations: 2.938 kB / 1.068 GB, free: 312.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/1.319, allocations: 497.5 kB / 1.068 GB, free: 312.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.561e-05/1.319, allocations: 8.594 kB / 1.068 GB, free: 312.8 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/1.319, allocations: 62.97 kB / 1.068 GB, free: 312.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/1.32, allocations: 4.12 MB / 1.072 GB, free: 308.6 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.32, allocations: 8.156 kB / 1.072 GB, free: 308.6 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004124/1.324, allocations: 3.232 MB / 1.075 GB, free: 307.2 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/1.325, allocations: 0.5685 MB / 1.076 GB, free: 306.9 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003129/1.326, allocations: 42.77 kB / 1.076 GB, free: 306.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/1.327, allocations: 80.28 kB / 1.076 GB, free: 306.8 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/1.327, allocations: 122.2 kB / 1.076 GB, free: 306.8 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.328, allocations: 70.77 kB / 1.076 GB, free: 306.8 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001567/1.329, allocations: 1.333 MB / 1.078 GB, free: 306.3 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/1.329, allocations: 3.938 kB / 1.078 GB, free: 306.3 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003409/1.333, allocations: 1.708 MB / 1.079 GB, free: 306 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mC[1],vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mC[1],vol3.dynBal.medium.Xi[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mC[1],vol4.dynBal.medium.Xi[1],vol4.dynBal.U,vol4.dynBal.m,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.0006445/1.333, allocations: 342.5 kB / 1.08 GB, free: 305.8 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005244/1.338, allocations: 3.325 MB / 1.083 GB, free: 304.8 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.338, allocations: 4 kB / 1.083 GB, free: 304.8 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/1.34, allocations: 1.026 MB / 1.084 GB, free: 304.4 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006369/1.346, allocations: 1.526 MB / 1.085 GB, free: 304 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008486/1.355, allocations: 6.725 MB / 1.092 GB, free: 298.8 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/1.356, allocations: 2.197 MB / 1.094 GB, free: 296.5 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007791/1.357, allocations: 231.4 kB / 1.094 GB, free: 296.3 MB / 0.795 GB Notification: Performance of SimCode: time 1.453e-06/1.357, allocations: 0 / 1.094 GB, free: 296.3 MB / 0.795 GB Notification: Performance of Templates: time 0.101/1.458, allocations: 141.2 MB / 1.232 GB, free: 155.2 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)