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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002233/0.002233, allocations: 183 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5782/0.5782, allocations: 92 MB / 108.5 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.862/1.862, allocations: 223.2 MB / 354.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 87.86 kB / 427.4 MB, free: 3.953 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000419/0.0004192, allocations: 8 kB / 0.4982 GB, free: 42.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2048, allocations: 72.31 MB / 0.5689 GB, free: 1.945 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.19/5.395, allocations: 1.933 GB / 2.502 GB, free: 150.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/5.395, allocations: 94.14 kB / 2.502 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.944/13.34, allocations: 2.073 GB / 4.575 GB, free: 36.68 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.615e-06/13.34, allocations: 4 kB / 4.575 GB, free: 36.68 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005575/13.34, allocations: 95.22 kB / 4.575 GB, free: 36.65 MB / 0.6823 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.01957/13.36, allocations: 3.984 MB / 4.579 GB, free: 33 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.304e-05/13.36, allocations: 12.03 kB / 4.579 GB, free: 32.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/13.37, allocations: 0.924 MB / 4.58 GB, free: 32.06 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/13.38, allocations: 2.893 MB / 4.583 GB, free: 29.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000525/13.38, allocations: 277.4 kB / 4.583 GB, free: 28.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002006/13.39, allocations: 291.9 kB / 4.584 GB, free: 28.52 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/13.4, allocations: 3.211 MB / 4.587 GB, free: 25.22 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000122/13.4, allocations: 7.828 kB / 4.587 GB, free: 25.22 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007784/13.4, allocations: 116.7 kB / 4.587 GB, free: 25.11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/13.4, allocations: 101.3 kB / 4.587 GB, free: 25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005594/13.4, allocations: 2.648 MB / 4.589 GB, free: 22.34 MB / 0.6823 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.02069/13.42, allocations: 13.22 MB / 4.602 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/13.43, allocations: 1.657 MB / 4.604 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004836/13.43, allocations: 329.2 kB / 4.604 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/13.43, allocations: 60.56 kB / 4.604 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=182): time 3.526e-06/13.43, allocations: 3.938 kB / 4.604 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of matching and sorting (n=182): time 0.005343/13.43, allocations: 2.7 MB / 4.607 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/13.43, allocations: 73.41 kB / 4.607 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003335/13.44, allocations: 1.708 MB / 4.609 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003206/13.44, allocations: 69.7 kB / 4.609 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/13.44, allocations: 1.419 MB / 4.61 GB, free: 15.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008421/13.44, allocations: 0.6353 MB / 4.611 GB, free: 15.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/13.44, allocations: 40 kB / 4.611 GB, free: 15.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002341/13.44, allocations: 393.9 kB / 4.611 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/13.44, allocations: 0.777 MB / 4.612 GB, free: 14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/13.44, allocations: 1.436 MB / 4.613 GB, free: 12.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/13.44, allocations: 1.048 MB / 4.614 GB, free: 11.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/13.44, allocations: 4 kB / 4.614 GB, free: 11.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004833/13.45, allocations: 2.463 MB / 4.617 GB, free: 8.754 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002414/13.45, allocations: 5.521 MB / 4.622 GB, free: 2.723 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/13.45, allocations: 16 kB / 4.622 GB, free: 2.707 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.762e-05/13.45, allocations: 27.94 kB / 4.622 GB, free: 2.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002455/13.45, allocations: 0.5109 MB / 4.623 GB, free: 2.168 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6091/14.06, allocations: 4.151 MB / 4.627 GB, free: 59.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00502/14.07, allocations: 406.2 kB / 4.627 GB, free: 59.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005779/14.07, allocations: 89.22 kB / 4.627 GB, free: 59.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/14.07, allocations: 5.188 kB / 4.627 GB, free: 59.38 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004639/14.07, allocations: 2.194 MB / 4.629 GB, free: 59.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-05/14.07, allocations: 14.16 kB / 4.629 GB, free: 59.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.396e-05/14.07, allocations: 24.81 kB / 4.629 GB, free: 59.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/14.08, allocations: 475.9 kB / 4.63 GB, free: 59.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.088e-05/14.08, allocations: 31.44 kB / 4.63 GB, free: 59.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004195/14.08, allocations: 386 kB / 4.63 GB, free: 59.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002633/14.08, allocations: 88.66 kB / 4.63 GB, free: 59.35 MB / 0.698 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 (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002759/14.08, allocations: 0.8655 MB / 4.631 GB, free: 59.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/14.08, allocations: 272.5 kB / 4.631 GB, free: 59.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004378/14.09, allocations: 2.094 MB / 4.634 GB, free: 59.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/14.09, allocations: 18.16 kB / 4.634 GB, free: 59.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/14.09, allocations: 1.031 kB / 4.634 GB, free: 59.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003105/14.09, allocations: 1.874 MB / 4.635 GB, free: 58.74 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/14.1, allocations: 5.141 MB / 4.64 GB, free: 58.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/14.1, allocations: 3.719 kB / 4.64 GB, free: 58.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002181/14.1, allocations: 0.4968 MB / 4.641 GB, free: 58.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.706e-05/14.1, allocations: 9.375 kB / 4.641 GB, free: 58.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/14.1, allocations: 57.73 kB / 4.641 GB, free: 58.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/14.1, allocations: 4.126 MB / 4.645 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/14.1, allocations: 4.875 kB / 4.645 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005208/14.11, allocations: 3.417 MB / 4.648 GB, free: 53.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002226/14.11, allocations: 0.5681 MB / 4.649 GB, free: 53.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004399/14.11, allocations: 41 kB / 4.649 GB, free: 53.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002364/14.12, allocations: 256.3 kB / 4.649 GB, free: 53.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/14.12, allocations: 119.5 kB / 4.649 GB, free: 53.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/14.12, allocations: 73.97 kB / 4.649 GB, free: 53.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002527/14.12, allocations: 1.311 MB / 4.651 GB, free: 53.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.132e-06/14.12, allocations: 0 / 4.651 GB, free: 53.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007751/14.13, allocations: 2.135 MB / 4.653 GB, free: 52.94 MB / 0.698 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 (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009093/14.14, allocations: 4.764 MB / 4.657 GB, free: 50.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007993/14.14, allocations: 3.202 MB / 4.661 GB, free: 50.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/14.14, allocations: 0 / 4.661 GB, free: 50.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001883/14.15, allocations: 1.004 MB / 4.661 GB, free: 50.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008161/14.15, allocations: 1.573 MB / 4.663 GB, free: 50.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/14.17, allocations: 7.866 MB / 4.671 GB, free: 47.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001887/14.17, allocations: 2.255 MB / 4.673 GB, free: 46.81 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004486/14.17, allocations: 1.1 MB / 4.674 GB, free: 46.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000658/14.17, allocations: 216.3 kB / 4.674 GB, free: 46.78 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/14.17, allocations: 0 / 4.674 GB, free: 46.78 MB / 0.698 GB Notification: Performance of Templates: time 0.1583/14.33, allocations: 97.75 MB / 4.77 GB, free: 41.32 MB / 0.698 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)