Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8316/0.8316, allocations: 141.8 MB / 149.3 MB, free: 9.203 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 184.6 kB / 182.2 MB, free: 9.426 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009587/0.0009584, allocations: 105.5 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001837/0.001836, allocations: 282 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.571e-05/1.573e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.453/0.453, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.659/5.112, allocations: 1.939 GB / 2.697 GB, free: 81.25 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/5.113, allocations: 91.27 kB / 2.697 GB, free: 81.21 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.188/13.3, allocations: 2.041 GB / 4.737 GB, free: 70.88 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.577e-06/13.3, allocations: 0 / 4.737 GB, free: 70.88 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0004895/13.3, allocations: 93.22 kB / 4.737 GB, free: 70.88 MB / 0.7761 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.0137/13.32, allocations: 3.467 MB / 4.741 GB, free: 69.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/13.32, allocations: 10.34 kB / 4.741 GB, free: 69.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007603/13.32, allocations: 0.9258 MB / 4.742 GB, free: 69.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009199/13.33, allocations: 2.842 MB / 4.744 GB, free: 69.26 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/13.33, allocations: 173.1 kB / 4.745 GB, free: 69.19 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009304/13.33, allocations: 179 kB / 4.745 GB, free: 69.19 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005105/13.34, allocations: 2.432 MB / 4.747 GB, free: 69.17 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005214/13.34, allocations: 2.738 MB / 4.75 GB, free: 68.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.671e-05/13.34, allocations: 5.844 kB / 4.75 GB, free: 68.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002548/13.34, allocations: 6 kB / 4.75 GB, free: 68.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/13.34, allocations: 102.4 kB / 4.75 GB, free: 68.92 MB / 0.7761 GB Warning: The model contains alias variables with conflicting start and/or 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.01821/13.36, allocations: 12.68 MB / 4.762 GB, free: 61.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002233/13.36, allocations: 1.694 MB / 4.764 GB, free: 61.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/13.37, allocations: 1.005 MB / 4.765 GB, free: 61.87 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004746/13.37, allocations: 327.7 kB / 4.765 GB, free: 61.58 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/13.37, allocations: 55.88 kB / 4.765 GB, free: 61.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=182): time 4.088e-06/13.37, allocations: 0 / 4.765 GB, free: 61.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=182): time 0.003935/13.37, allocations: 1.859 MB / 4.767 GB, free: 61.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/13.37, allocations: 71.41 kB / 4.767 GB, free: 61.27 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/13.37, allocations: 1.41 MB / 4.769 GB, free: 61.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002765/13.37, allocations: 34.73 kB / 4.769 GB, free: 61.04 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009983/13.37, allocations: 1.401 MB / 4.77 GB, free: 60.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006819/13.38, allocations: 0.6149 MB / 4.771 GB, free: 60.08 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-05/13.38, allocations: 0 / 4.771 GB, free: 60.08 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001647/13.38, allocations: 391.1 kB / 4.771 GB, free: 59.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/13.38, allocations: 0.724 MB / 4.772 GB, free: 59.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/13.38, allocations: 1.38 MB / 4.773 GB, free: 59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/13.38, allocations: 0.9915 MB / 4.774 GB, free: 58.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/13.38, allocations: 3.844 kB / 4.774 GB, free: 58.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004118/13.38, allocations: 2.218 MB / 4.776 GB, free: 58.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001479/13.39, allocations: 5.476 MB / 4.782 GB, free: 52.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/13.39, allocations: 10.97 kB / 4.782 GB, free: 52.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.223e-05/13.39, allocations: 31.33 kB / 4.782 GB, free: 52.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002446/13.39, allocations: 0.5231 MB / 4.782 GB, free: 52.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/13.39, allocations: 4.176 MB / 4.786 GB, free: 48.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004536/13.39, allocations: 316.1 kB / 4.786 GB, free: 48.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002513/13.39, allocations: 87.7 kB / 4.787 GB, free: 48.74 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/13.39, allocations: 4.531 kB / 4.787 GB, free: 48.74 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00349/13.4, allocations: 1.915 MB / 4.788 GB, free: 48.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.451e-05/13.4, allocations: 13.34 kB / 4.788 GB, free: 48.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/13.4, allocations: 29.06 kB / 4.788 GB, free: 48.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/13.4, allocations: 473.3 kB / 4.789 GB, free: 48.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.109e-05/13.4, allocations: 39.55 kB / 4.789 GB, free: 48.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004139/13.4, allocations: 291.7 kB / 4.789 GB, free: 48.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/13.4, allocations: 83.92 kB / 4.789 GB, free: 48.61 MB / 0.7761 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 () * 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.0007209/13.4, allocations: 164.7 kB / 4.789 GB, free: 48.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007544/13.41, allocations: 250.3 kB / 4.79 GB, free: 48.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003533/13.41, allocations: 1.883 MB / 4.792 GB, free: 48.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/13.41, allocations: 21.16 kB / 4.792 GB, free: 48.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/13.41, allocations: 8.422 kB / 4.792 GB, free: 48.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002237/13.41, allocations: 1.723 MB / 4.793 GB, free: 47.95 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009384/13.42, allocations: 4.626 MB / 4.798 GB, free: 47.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/13.42, allocations: 3.062 kB / 4.798 GB, free: 47.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002341/13.42, allocations: 0.5053 MB / 4.798 GB, free: 47.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-05/13.42, allocations: 15.52 kB / 4.798 GB, free: 47.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/13.42, allocations: 34.91 kB / 4.798 GB, free: 47.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/13.43, allocations: 4.13 MB / 4.802 GB, free: 43.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/13.43, allocations: 2.875 kB / 4.802 GB, free: 43.35 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004994/13.43, allocations: 3.354 MB / 4.806 GB, free: 42.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00206/13.43, allocations: 0.5518 MB / 4.806 GB, free: 42.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000473/13.43, allocations: 14.11 kB / 4.806 GB, free: 42.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002874/13.44, allocations: 217.8 kB / 4.806 GB, free: 42.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/13.44, allocations: 112 kB / 4.806 GB, free: 42.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/13.44, allocations: 73.77 kB / 4.807 GB, free: 42.34 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002408/13.44, allocations: 1.046 MB / 4.808 GB, free: 42.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.51e-07/13.44, allocations: 0 / 4.808 GB, free: 42.19 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.008601/13.45, allocations: 1.93 MB / 4.809 GB, free: 41.92 MB / 0.7761 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 () * 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.008228/13.46, allocations: 5.212 MB / 4.815 GB, free: 39.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00611/13.46, allocations: 3.056 MB / 4.818 GB, free: 39.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/13.46, allocations: 3.469 kB / 4.818 GB, free: 39.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/13.46, allocations: 0.9411 MB / 4.818 GB, free: 39.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00849/13.47, allocations: 1.444 MB / 4.82 GB, free: 39.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009343/13.48, allocations: 5.396 MB / 4.825 GB, free: 38.3 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/13.48, allocations: 2.246 MB / 4.827 GB, free: 37.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.005086/13.49, allocations: 1.257 MB / 4.829 GB, free: 37.51 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/13.49, allocations: 175.7 kB / 4.829 GB, free: 37.5 MB / 0.7761 GB Notification: Performance of SimCode: time 1.693e-06/13.49, allocations: 3.531 kB / 4.829 GB, free: 37.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.1157/13.6, allocations: 73.36 MB / 4.9 GB, free: 32.72 MB / 0.7761 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)