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.0009886/0.0009886, allocations: 101.6 kB / 16.4 MB, free: 5.941 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.001119/0.001119, allocations: 186.5 kB / 17.34 MB, free: 5.574 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.224/1.224, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6954/0.6954, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 65.44 kB / 0.5577 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1383, allocations: 76.18 MB / 0.6321 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6357/0.7741, allocations: 305.1 MB / 0.93 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03685/0.811, allocations: 25.83 MB / 0.9553 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006156/0.8172, allocations: 131.2 kB / 0.9554 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005693/0.8229, allocations: 1.794 MB / 0.9571 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01647/0.8395, allocations: 5.965 MB / 0.963 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007131/0.8466, allocations: 2.634 MB / 0.9655 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01334/0.86, allocations: 8.91 MB / 0.9742 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006341/0.8663, allocations: 3.622 MB / 0.9778 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01122/0.8776, allocations: 4.209 MB / 0.9819 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00605/0.8836, allocations: 2.966 MB / 0.9848 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00164/0.8853, allocations: 360 kB / 0.9851 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01236/0.8977, allocations: 4.603 MB / 0.9896 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002734/0.9004, allocations: 1.648 MB / 0.9912 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005685/0.9061, allocations: 2.127 MB / 0.9933 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01365/0.9198, allocations: 6.746 MB / 0.9999 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.9198, allocations: 0 / 0.9999 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.925e-06/0.9199, allocations: 0 / 0.9999 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002034/0.9201, allocations: 4 kB / 0.9999 GB, free: 3.48 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.009352/0.9294, allocations: 4.16 MB / 1.004 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.9295, allocations: 15.97 kB / 1.004 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006058/0.9355, allocations: 0.94 MB / 1.005 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005695/0.9413, allocations: 2.396 MB / 1.007 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003849/0.9417, allocations: 281.2 kB / 1.008 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008702/0.9426, allocations: 284 kB / 1.008 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007372/0.9499, allocations: 3.363 MB / 1.011 GB, free: 7.801 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.133e-05/0.95, allocations: 7.906 kB / 1.011 GB, free: 7.793 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/0.9503, allocations: 112 kB / 1.011 GB, free: 7.684 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/0.9504, allocations: 113.3 kB / 1.011 GB, free: 7.57 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004181/0.9546, allocations: 2.8 MB / 1.014 GB, free: 4.758 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.01518/0.9698, allocations: 13.26 MB / 1.027 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/0.9721, allocations: 1.685 MB / 1.029 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.9735, allocations: 1.11 MB / 1.03 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004289/0.9739, allocations: 329.2 kB / 1.03 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.974, allocations: 56.5 kB / 1.03 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=182): time 3.516e-06/0.974, allocations: 0 / 1.03 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of matching and sorting (n=182): time 0.004728/0.9787, allocations: 2.734 MB / 1.033 GB, free: 344 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.9788, allocations: 77.39 kB / 1.033 GB, free: 252 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/0.9813, allocations: 1.994 MB / 1.035 GB, free: 14.23 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002007/0.9815, allocations: 65.7 kB / 1.035 GB, free: 14.16 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009116/0.9824, allocations: 1.406 MB / 1.036 GB, free: 12.74 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000579/0.983, allocations: 0.6392 MB / 1.037 GB, free: 12.09 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004931/0.9835, allocations: 391.3 kB / 1.037 GB, free: 11.7 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.548e-05/0.9836, allocations: 305.1 kB / 1.037 GB, free: 11.4 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.9847, allocations: 0.8091 MB / 1.038 GB, free: 10.58 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.9863, allocations: 1.41 MB / 1.04 GB, free: 8.922 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.989, allocations: 2.256 MB / 1.042 GB, free: 6.484 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.9891, allocations: 4 kB / 1.042 GB, free: 6.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003706/0.9928, allocations: 2.502 MB / 1.044 GB, free: 3.969 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.9928, allocations: 12 kB / 1.044 GB, free: 3.957 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.9928, allocations: 12 kB / 1.044 GB, free: 3.945 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.706e-05/0.9929, allocations: 27.94 kB / 1.044 GB, free: 3.918 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/0.9952, allocations: 0.5542 MB / 1.045 GB, free: 3.363 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2797/1.275, allocations: 4.142 MB / 1.049 GB, free: 320.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/1.278, allocations: 217.2 kB / 1.049 GB, free: 320.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/1.278, allocations: 89.95 kB / 1.049 GB, free: 320.4 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0025/1.28, allocations: 1.469 MB / 1.051 GB, free: 320.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001442/1.282, allocations: 1.399 MB / 1.052 GB, free: 319.7 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002718/1.285, allocations: 2.24 MB / 1.054 GB, free: 318.6 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.436e-06/1.285, allocations: 3.469 kB / 1.054 GB, free: 318.6 MB / 0.795 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.003848/1.289, allocations: 2.48 MB / 1.057 GB, free: 317.7 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.289, allocations: 12.81 kB / 1.057 GB, free: 317.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.289, allocations: 15.41 kB / 1.057 GB, free: 317.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/1.289, allocations: 23 kB / 1.057 GB, free: 317.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/1.29, allocations: 474.7 kB / 1.057 GB, free: 317.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.541e-05/1.29, allocations: 29.02 kB / 1.057 GB, free: 317.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/1.292, allocations: 197.9 kB / 1.057 GB, free: 317.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/1.293, allocations: 85.02 kB / 1.057 GB, free: 317.6 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.0004434/1.293, allocations: 308 kB / 1.058 GB, free: 317.4 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/1.293, allocations: 276.3 kB / 1.058 GB, free: 317.4 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003471/1.297, allocations: 2.1 MB / 1.06 GB, free: 316.5 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/1.297, allocations: 22.62 kB / 1.06 GB, free: 316.5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.297, allocations: 0 / 1.06 GB, free: 316.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002464/1.299, allocations: 1.887 MB / 1.062 GB, free: 315.6 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007555/1.307, allocations: 5.185 MB / 1.067 GB, free: 313.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.307, allocations: 3.781 kB / 1.067 GB, free: 313.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002243/1.309, allocations: 0.4937 MB / 1.067 GB, free: 313.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.661e-05/1.309, allocations: 8.969 kB / 1.067 GB, free: 313.5 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/1.309, allocations: 55.78 kB / 1.068 GB, free: 313.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/1.311, allocations: 4.123 MB / 1.072 GB, free: 309.3 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.311, allocations: 8.062 kB / 1.072 GB, free: 309.3 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004469/1.315, allocations: 3.224 MB / 1.075 GB, free: 307.9 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009453/1.316, allocations: 0.5711 MB / 1.075 GB, free: 307.5 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/1.316, allocations: 38.11 kB / 1.075 GB, free: 307.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/1.318, allocations: 92.41 kB / 1.075 GB, free: 307.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/1.318, allocations: 111.2 kB / 1.075 GB, free: 307.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/1.318, allocations: 69.5 kB / 1.076 GB, free: 307.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00153/1.32, allocations: 1.336 MB / 1.077 GB, free: 307 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/1.32, allocations: 3.969 kB / 1.077 GB, free: 307 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003367/1.323, allocations: 1.708 MB / 1.079 GB, free: 306.6 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.0006165/1.324, allocations: 352.6 kB / 1.079 GB, free: 306.5 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004787/1.329, allocations: 3.325 MB / 1.082 GB, free: 305.4 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.329, allocations: 3.5 kB / 1.082 GB, free: 305.4 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/1.33, allocations: 1.023 MB / 1.083 GB, free: 305.1 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005253/1.335, allocations: 1.535 MB / 1.085 GB, free: 304.7 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007193/1.342, allocations: 6.516 MB / 1.091 GB, free: 299.7 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/1.344, allocations: 2.193 MB / 1.093 GB, free: 297.5 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002446/1.346, allocations: 1.095 MB / 1.094 GB, free: 296.4 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/1.347, allocations: 212.9 kB / 1.094 GB, free: 296.2 MB / 0.795 GB Notification: Performance of SimCode: time 6.62e-07/1.347, allocations: 4 kB / 1.094 GB, free: 296.2 MB / 0.795 GB Notification: Performance of Templates: time 0.06291/1.41, allocations: 54.68 MB / 1.148 GB, free: 242.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)