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.001544/0.001544, allocations: 108.2 kB / 16.41 MB, free: 6.504 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.001703/0.001703, allocations: 193.2 kB / 17.34 MB, free: 5.742 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: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7914/0.7914, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 65.61 kB / 0.5577 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1673, allocations: 76.19 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7314/0.8987, allocations: 305.1 MB / 0.93 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04134/0.9401, allocations: 25.83 MB / 0.9553 GB, free: 1.145 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008038/0.9481, allocations: 127.2 kB / 0.9554 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.007364/0.9557, allocations: 1.794 MB / 0.9571 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01813/0.9738, allocations: 5.964 MB / 0.963 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008113/0.982, allocations: 2.63 MB / 0.9655 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01356/0.9955, allocations: 8.915 MB / 0.9742 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007104/1.003, allocations: 3.621 MB / 0.9778 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01387/1.017, allocations: 4.222 MB / 0.9819 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006461/1.023, allocations: 2.956 MB / 0.9848 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001535/1.025, allocations: 356 kB / 0.9851 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/1.035, allocations: 4.607 MB / 0.9896 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002634/1.038, allocations: 1.644 MB / 0.9912 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005092/1.043, allocations: 2.135 MB / 0.9933 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01363/1.057, allocations: 6.739 MB / 0.9999 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.057, allocations: 0 / 0.9999 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.947e-06/1.057, allocations: 0 / 0.9999 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001644/1.057, allocations: 3.938 kB / 0.9999 GB, free: 3.312 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.008519/1.065, allocations: 4.164 MB / 1.004 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.065, allocations: 19.97 kB / 1.004 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005767/1.071, allocations: 0.9282 MB / 1.005 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005466/1.077, allocations: 2.4 MB / 1.007 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002547/1.077, allocations: 277.2 kB / 1.008 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005307/1.077, allocations: 288 kB / 1.008 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006059/1.084, allocations: 3.359 MB / 1.011 GB, free: 7.633 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.793e-05/1.084, allocations: 11.84 kB / 1.011 GB, free: 7.621 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/1.084, allocations: 116 kB / 1.011 GB, free: 7.508 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.95e-05/1.084, allocations: 105.3 kB / 1.011 GB, free: 7.402 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004443/1.088, allocations: 2.8 MB / 1.014 GB, free: 4.59 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.01637/1.105, allocations: 13.27 MB / 1.027 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/1.107, allocations: 1.685 MB / 1.029 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/1.109, allocations: 1.102 MB / 1.03 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004848/1.109, allocations: 325.2 kB / 1.03 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/1.109, allocations: 64.56 kB / 1.03 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=182): time 3.506e-06/1.109, allocations: 3.938 kB / 1.03 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of matching and sorting (n=182): time 0.004989/1.114, allocations: 2.735 MB / 1.033 GB, free: 164 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/1.114, allocations: 73.41 kB / 1.033 GB, free: 76 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/1.117, allocations: 1.998 MB / 1.035 GB, free: 14.06 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.000194/1.117, allocations: 65.7 kB / 1.035 GB, free: 13.99 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/1.118, allocations: 1.406 MB / 1.036 GB, free: 12.57 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006049/1.119, allocations: 0.6392 MB / 1.037 GB, free: 11.92 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000514/1.119, allocations: 383.3 kB / 1.037 GB, free: 11.54 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.33e-05/1.119, allocations: 301.1 kB / 1.037 GB, free: 11.24 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/1.121, allocations: 0.8208 MB / 1.038 GB, free: 10.41 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/1.122, allocations: 1.399 MB / 1.04 GB, free: 8.758 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002871/1.125, allocations: 2.26 MB / 1.042 GB, free: 6.316 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/1.125, allocations: 4 kB / 1.042 GB, free: 6.312 MB / 0.795 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003922/1.129, allocations: 2.502 MB / 1.044 GB, free: 3.801 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.129, allocations: 12.03 kB / 1.044 GB, free: 3.789 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/1.129, allocations: 16 kB / 1.044 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.899e-05/1.129, allocations: 27.94 kB / 1.044 GB, free: 3.746 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002455/1.132, allocations: 0.5422 MB / 1.045 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3848/1.517, allocations: 4.15 MB / 1.049 GB, free: 320.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003333/1.52, allocations: 215 kB / 1.049 GB, free: 320.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000526/1.521, allocations: 93.81 kB / 1.049 GB, free: 320.2 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004131/1.525, allocations: 1.465 MB / 1.051 GB, free: 320.1 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002495/1.527, allocations: 1.404 MB / 1.052 GB, free: 319.5 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005077/1.532, allocations: 2.242 MB / 1.054 GB, free: 318.7 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.608e-05/1.532, allocations: 3.219 kB / 1.054 GB, free: 318.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.007013/1.539, allocations: 2.48 MB / 1.057 GB, free: 317.8 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/1.539, allocations: 10.97 kB / 1.057 GB, free: 317.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-05/1.54, allocations: 13.25 kB / 1.057 GB, free: 317.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000116/1.54, allocations: 26 kB / 1.057 GB, free: 317.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002529/1.542, allocations: 470.6 kB / 1.057 GB, free: 317.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.272e-05/1.542, allocations: 39.22 kB / 1.057 GB, free: 317.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004436/1.547, allocations: 191 kB / 1.057 GB, free: 317.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003011/1.547, allocations: 85.66 kB / 1.057 GB, free: 317.7 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.001086/1.548, allocations: 309.6 kB / 1.058 GB, free: 317.5 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001343/1.549, allocations: 274.6 kB / 1.058 GB, free: 317.5 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006352/1.556, allocations: 2.107 MB / 1.06 GB, free: 316.6 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.779e-05/1.556, allocations: 25.25 kB / 1.06 GB, free: 316.6 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/1.556, allocations: 4.75 kB / 1.06 GB, free: 316.6 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003627/1.56, allocations: 1.883 MB / 1.062 GB, free: 315.7 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/1.573, allocations: 5.179 MB / 1.067 GB, free: 313.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/1.573, allocations: 4.125 kB / 1.067 GB, free: 313.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003197/1.576, allocations: 0.4935 MB / 1.067 GB, free: 313.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.766e-05/1.576, allocations: 8.062 kB / 1.067 GB, free: 313.6 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002143/1.576, allocations: 51.56 kB / 1.068 GB, free: 313.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/1.578, allocations: 4.132 MB / 1.072 GB, free: 309.4 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/1.578, allocations: 3.375 kB / 1.072 GB, free: 309.4 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006517/1.585, allocations: 3.221 MB / 1.075 GB, free: 308 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/1.587, allocations: 0.5662 MB / 1.075 GB, free: 307.7 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008034/1.588, allocations: 47.77 kB / 1.075 GB, free: 307.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002752/1.59, allocations: 85.22 kB / 1.075 GB, free: 307.6 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/1.591, allocations: 117.6 kB / 1.075 GB, free: 307.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002192/1.591, allocations: 74.67 kB / 1.076 GB, free: 307.6 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002963/1.594, allocations: 1.334 MB / 1.077 GB, free: 307.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.4e-07/1.594, allocations: 0 / 1.077 GB, free: 307.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005906/1.6, allocations: 1.714 MB / 1.079 GB, free: 306.7 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.0008207/1.601, allocations: 355.4 kB / 1.079 GB, free: 306.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.006009/1.607, allocations: 3.316 MB / 1.082 GB, free: 305.5 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.607, allocations: 3.719 kB / 1.082 GB, free: 305.5 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/1.608, allocations: 1.031 MB / 1.083 GB, free: 305.2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006913/1.615, allocations: 1.528 MB / 1.085 GB, free: 304.8 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/1.626, allocations: 6.517 MB / 1.091 GB, free: 299.6 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002354/1.628, allocations: 2.186 MB / 1.093 GB, free: 297.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003636/1.632, allocations: 1.094 MB / 1.094 GB, free: 296.3 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007544/1.632, allocations: 223.3 kB / 1.094 GB, free: 296 MB / 0.795 GB Notification: Performance of SimCode: time 9.02e-07/1.632, allocations: 0 / 1.094 GB, free: 296 MB / 0.795 GB Notification: Performance of Templates: time 0.076/1.708, allocations: 54.69 MB / 1.148 GB, free: 242 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)