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.7217/0.7217, allocations: 127.4 MB / 134.9 MB, free: 3.457 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009876/0.0009875, allocations: 177.5 kB / 164.6 MB, free: 11.64 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.559/1.559, allocations: 205.2 MB / 399.5 MB, free: 13.56 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.0008037/0.0008034, allocations: 90.39 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.174e-05/2.177e-05, allocations: 2.875 kB / 0.5466 GB, free: 95.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1589, allocations: 76.77 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.758/4.917, allocations: 2.166 GB / 2.788 GB, free: 184.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/4.918, allocations: 93.84 kB / 2.788 GB, free: 184.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.321/12.24, allocations: 2.011 GB / 4.799 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.743e-06/12.24, allocations: 0 / 4.799 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004338/12.24, allocations: 103.5 kB / 4.799 GB, free: 13.56 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.01244/12.25, allocations: 3.701 MB / 4.803 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/12.25, allocations: 8.031 kB / 4.803 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007222/12.26, allocations: 0.9631 MB / 4.804 GB, free: 8.801 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007567/12.27, allocations: 2.597 MB / 4.806 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003051/12.27, allocations: 185.3 kB / 4.806 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001285/12.27, allocations: 187.9 kB / 4.807 GB, free: 5.754 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00654/12.27, allocations: 2.675 MB / 4.809 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007783/12.28, allocations: 2.981 MB / 4.812 GB, free: 16 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/12.28, allocations: 7.938 kB / 4.812 GB, free: 8 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005617/12.28, allocations: 7.953 kB / 4.812 GB, free: 0 / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.526/12.81, allocations: 106.8 kB / 4.812 GB, free: 57.5 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.02297/12.83, allocations: 14.48 MB / 4.826 GB, free: 49.99 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/12.83, allocations: 1.62 MB / 4.828 GB, free: 49.95 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/12.84, allocations: 1.025 MB / 4.829 GB, free: 49.93 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004881/12.84, allocations: 326.7 kB / 4.829 GB, free: 49.65 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/12.84, allocations: 66.38 kB / 4.829 GB, free: 49.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=192): time 5.26e-06/12.84, allocations: 0 / 4.829 GB, free: 49.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=192): time 0.005003/12.84, allocations: 2.089 MB / 4.831 GB, free: 49.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/12.84, allocations: 72.84 kB / 4.831 GB, free: 49.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/12.84, allocations: 1.476 MB / 4.833 GB, free: 49.12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000277/12.84, allocations: 36.23 kB / 4.833 GB, free: 49.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/12.84, allocations: 1.483 MB / 4.834 GB, free: 48.64 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007531/12.85, allocations: 0.6558 MB / 4.835 GB, free: 48.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/12.85, allocations: 0 / 4.835 GB, free: 48.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001192/12.85, allocations: 403 kB / 4.835 GB, free: 47.99 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/12.85, allocations: 0.7958 MB / 4.836 GB, free: 47.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/12.85, allocations: 1.494 MB / 4.838 GB, free: 47.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/12.85, allocations: 1.076 MB / 4.839 GB, free: 47.16 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/12.85, allocations: 6.375 kB / 4.839 GB, free: 47.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.003859/12.85, allocations: 2.461 MB / 4.841 GB, free: 46.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001381/12.86, allocations: 6.676 MB / 4.848 GB, free: 39.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/12.86, allocations: 13.12 kB / 4.848 GB, free: 39.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.983e-05/12.86, allocations: 32.16 kB / 4.848 GB, free: 39.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006315/12.86, allocations: 1.113 MB / 4.849 GB, free: 39.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003648/12.87, allocations: 4.508 MB / 4.853 GB, free: 35.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004307/12.87, allocations: 385.9 kB / 4.853 GB, free: 35.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/12.87, allocations: 101.6 kB / 4.854 GB, free: 35.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/12.87, allocations: 4.062 kB / 4.854 GB, free: 35.68 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003494/12.87, allocations: 2.093 MB / 4.856 GB, free: 35.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.914e-05/12.87, allocations: 15.91 kB / 4.856 GB, free: 35.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.941e-05/12.87, allocations: 32.12 kB / 4.856 GB, free: 35.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/12.88, allocations: 0.5068 MB / 4.856 GB, free: 35.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-05/12.88, allocations: 33.67 kB / 4.856 GB, free: 35.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003655/12.88, allocations: 325.3 kB / 4.856 GB, free: 35.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/12.88, allocations: 97.8 kB / 4.857 GB, free: 35.59 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 (282): * Single equations (assignments): 272 * 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.0006781/12.88, allocations: 167.5 kB / 4.857 GB, free: 35.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006493/12.88, allocations: 262.3 kB / 4.857 GB, free: 35.35 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008908/12.88, allocations: 285.6 kB / 4.857 GB, free: 35.32 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/12.88, allocations: 17.25 kB / 4.857 GB, free: 35.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.655e-05/12.88, allocations: 3.938 kB / 4.857 GB, free: 35.32 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002431/12.88, allocations: 1.819 MB / 4.859 GB, free: 35.01 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008444/12.89, allocations: 4.888 MB / 4.864 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/12.89, allocations: 8.812 kB / 4.864 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006741/12.9, allocations: 1.171 MB / 4.865 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.129e-05/12.9, allocations: 11.88 kB / 4.865 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/12.9, allocations: 29.67 kB / 4.865 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/12.91, allocations: 9.706 MB / 4.874 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/12.91, allocations: 7.906 kB / 4.874 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005148/12.92, allocations: 3.534 MB / 4.878 GB, free: 41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002002/12.92, allocations: 0.5848 MB / 4.878 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004097/12.92, allocations: 13.56 kB / 4.879 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002887/12.92, allocations: 269.8 kB / 4.879 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005089/12.92, allocations: 134.1 kB / 4.879 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/12.92, allocations: 84.8 kB / 4.879 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001956/12.92, allocations: 1.093 MB / 4.88 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.9e-07/12.92, allocations: 0 / 4.88 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005405/12.93, allocations: 2.064 MB / 4.882 GB, free: 40.47 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.006646/12.94, allocations: 5.314 MB / 4.887 GB, free: 38.21 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.009627/12.95, allocations: 4.113 MB / 4.891 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/12.95, allocations: 0 / 4.891 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.005669/12.95, allocations: 1.602 MB / 4.893 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007842/12.96, allocations: 1.481 MB / 4.894 GB, free: 37.74 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008534/12.97, allocations: 5.602 MB / 4.9 GB, free: 36.45 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001777/12.97, allocations: 2.335 MB / 4.902 GB, free: 35.68 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004749/12.97, allocations: 1.273 MB / 4.903 GB, free: 35.65 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005001/12.98, allocations: 185.3 kB / 4.903 GB, free: 35.64 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/12.98, allocations: 0 / 4.903 GB, free: 35.64 MB / 0.7448 GB Notification: Performance of Templates: time 0.1108/13.09, allocations: 77.86 MB / 4.979 GB, free: 30.46 MB / 0.7448 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)