Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7195/0.7195, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 188.8 kB / 169.7 MB, free: 1.723 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.1 MB / 404.5 MB, free: 1.566 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009638/0.0009638, allocations: 86.47 kB / 481.8 MB, free: 4.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.901e-05/2.903e-05, allocations: 4 kB / 0.5532 GB, free: 54.83 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1674, allocations: 76.75 MB / 0.6281 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.692/5.859, allocations: 2.167 GB / 2.795 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/5.86, allocations: 87.14 kB / 2.795 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.759/13.62, allocations: 2.033 GB / 4.829 GB, free: 48.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.804e-06/13.62, allocations: 0 / 4.829 GB, free: 48.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003639/13.62, allocations: 98.92 kB / 4.829 GB, free: 48.85 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 757 * Number of variables: 757 Notification: Performance of Generate backend data structure: time 0.0106/13.63, allocations: 3.708 MB / 4.832 GB, free: 47.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/13.63, allocations: 10.19 kB / 4.832 GB, free: 47.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006761/13.64, allocations: 0.9588 MB / 4.833 GB, free: 47.13 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006743/13.64, allocations: 2.594 MB / 4.836 GB, free: 46.54 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/13.64, allocations: 304.2 kB / 4.836 GB, free: 46.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006789/13.64, allocations: 322 kB / 4.836 GB, free: 46.46 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007485/13.65, allocations: 3.625 MB / 4.84 GB, free: 46.19 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.835e-05/13.65, allocations: 1.219 kB / 4.84 GB, free: 46.19 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000372/13.65, allocations: 124.4 kB / 4.84 GB, free: 46.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-05/13.65, allocations: 114.2 kB / 4.84 GB, free: 46.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005961/13.66, allocations: 3.012 MB / 4.843 GB, free: 46.15 MB / 0.7292 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.01915/13.68, allocations: 15.05 MB / 4.858 GB, free: 38.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004134/13.68, allocations: 1.881 MB / 4.86 GB, free: 38.27 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/13.68, allocations: 1.074 MB / 4.861 GB, free: 38.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005799/13.68, allocations: 331.7 kB / 4.861 GB, free: 37.97 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/13.68, allocations: 63.5 kB / 4.861 GB, free: 37.93 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=192): time 5.089e-06/13.68, allocations: 1.625 kB / 4.861 GB, free: 37.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=192): time 0.007248/13.69, allocations: 2.37 MB / 4.863 GB, free: 37.71 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/13.69, allocations: 77.44 kB / 4.863 GB, free: 37.64 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002929/13.69, allocations: 1.763 MB / 4.865 GB, free: 37.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003749/13.69, allocations: 77.48 kB / 4.865 GB, free: 37.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000905/13.7, allocations: 1.505 MB / 4.867 GB, free: 36.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000677/13.7, allocations: 0.6745 MB / 4.867 GB, free: 36.37 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/13.7, allocations: 48.59 kB / 4.867 GB, free: 36.37 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001518/13.7, allocations: 392.8 kB / 4.868 GB, free: 36.06 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/13.7, allocations: 0.8447 MB / 4.869 GB, free: 36.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/13.7, allocations: 1.567 MB / 4.87 GB, free: 35.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/13.7, allocations: 1.21 MB / 4.871 GB, free: 35.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/13.7, allocations: 4.906 kB / 4.871 GB, free: 35.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.004322/13.71, allocations: 2.774 MB / 4.874 GB, free: 34.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001241/13.71, allocations: 6.728 MB / 4.881 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/13.71, allocations: 15.5 kB / 4.881 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.656e-05/13.71, allocations: 33.91 kB / 4.881 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006549/13.71, allocations: 1.111 MB / 4.882 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003525/13.72, allocations: 4.487 MB / 4.886 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00474/13.72, allocations: 450.8 kB / 4.887 GB, free: 23.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005551/13.72, allocations: 102.9 kB / 4.887 GB, free: 23.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/13.72, allocations: 3.875 kB / 4.887 GB, free: 23.48 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0054/13.73, allocations: 2.463 MB / 4.889 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/13.73, allocations: 14.81 kB / 4.889 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.387e-05/13.73, allocations: 33.88 kB / 4.889 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/13.73, allocations: 0.5093 MB / 4.89 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-05/13.73, allocations: 39.42 kB / 4.89 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005098/13.74, allocations: 384.8 kB / 4.89 GB, free: 23.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004459/13.74, allocations: 101.6 kB / 4.89 GB, free: 23.24 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 3 * 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.001211/13.74, allocations: 248.4 kB / 4.89 GB, free: 23.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/13.74, allocations: 283.2 kB / 4.891 GB, free: 22.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/13.74, allocations: 312.6 kB / 4.891 GB, free: 22.94 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/13.74, allocations: 20.34 kB / 4.891 GB, free: 22.94 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.772e-05/13.74, allocations: 0 / 4.891 GB, free: 22.94 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003215/13.74, allocations: 1.918 MB / 4.893 GB, free: 22.63 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/13.76, allocations: 5.385 MB / 4.898 GB, free: 22.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/13.76, allocations: 4.938 kB / 4.898 GB, free: 22.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006732/13.76, allocations: 1.177 MB / 4.899 GB, free: 22.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.029e-05/13.76, allocations: 13.7 kB / 4.899 GB, free: 22.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002384/13.76, allocations: 56.97 kB / 4.899 GB, free: 22.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01199/13.77, allocations: 10.04 MB / 4.909 GB, free: 28.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/13.77, allocations: 4.234 kB / 4.909 GB, free: 28.86 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006572/13.78, allocations: 3.695 MB / 4.913 GB, free: 28.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002289/13.78, allocations: 0.599 MB / 4.913 GB, free: 27.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009358/13.78, allocations: 44.06 kB / 4.913 GB, free: 27.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003648/13.79, allocations: 310.9 kB / 4.914 GB, free: 27.83 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003576/13.79, allocations: 134 kB / 4.914 GB, free: 27.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002808/13.79, allocations: 78.39 kB / 4.914 GB, free: 27.82 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002863/13.79, allocations: 1.346 MB / 4.915 GB, free: 27.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.9e-07/13.79, allocations: 2.875 kB / 4.915 GB, free: 27.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.008582/13.8, allocations: 2.288 MB / 4.917 GB, free: 27.4 MB / 0.7448 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 (192): * Single equations (assignments): 185 * 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.007835/13.81, allocations: 4.881 MB / 4.922 GB, free: 25.06 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01152/13.82, allocations: 4.353 MB / 4.926 GB, free: 24.62 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/13.82, allocations: 0 / 4.926 GB, free: 24.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.006173/13.83, allocations: 1.637 MB / 4.928 GB, free: 24.61 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009419/13.84, allocations: 1.613 MB / 4.93 GB, free: 24.56 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/13.85, allocations: 5.733 MB / 4.935 GB, free: 22.85 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002955/13.85, allocations: 2.335 MB / 4.937 GB, free: 22.04 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.006714/13.86, allocations: 1.364 MB / 4.939 GB, free: 21.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008457/13.86, allocations: 187.3 kB / 4.939 GB, free: 21.89 MB / 0.7448 GB Notification: Performance of SimCode: time 1.403e-06/13.86, allocations: 0 / 4.939 GB, free: 21.89 MB / 0.7448 GB Notification: Performance of Templates: time 0.7318/14.59, allocations: 117.3 MB / 5.053 GB, free: 81.41 MB / 0.7605 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)