Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.755/1.755, allocations: 297.8 MB / 313.7 MB, free: 84 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009735/0.0009735, allocations: 176.5 kB / 384.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 97.08 kB / 0.7808 GB, free: 43.41 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000566/0.0005663, allocations: 16 kB / 0.9088 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8944/0.895, allocations: 120.3 MB / 1.026 GB, free: 55.85 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.884/5.779, allocations: 1.972 GB / 2.998 GB, free: 216.5 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/5.779, allocations: 93.03 kB / 2.998 GB, free: 216.4 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 7.55/13.33, allocations: 2.058 GB / 5.056 GB, free: 56.5 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.234e-06/13.33, allocations: 0 / 5.056 GB, free: 56.5 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0005039/13.33, allocations: 91.97 kB / 5.056 GB, free: 56.41 MB / 1.042 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.01499/13.34, allocations: 3.928 MB / 5.06 GB, free: 52.41 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/13.34, allocations: 12.03 kB / 5.06 GB, free: 52.4 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007542/13.35, allocations: 0.9174 MB / 5.061 GB, free: 51.48 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008654/13.36, allocations: 2.849 MB / 5.064 GB, free: 48.56 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003441/13.36, allocations: 282 kB / 5.064 GB, free: 48.27 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001319/13.36, allocations: 296.2 kB / 5.064 GB, free: 47.98 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008909/13.37, allocations: 3.231 MB / 5.067 GB, free: 44.66 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/13.37, allocations: 3.797 kB / 5.067 GB, free: 44.66 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007851/13.37, allocations: 123.7 kB / 5.068 GB, free: 44.54 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/13.37, allocations: 101.3 kB / 5.068 GB, free: 44.44 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005694/13.38, allocations: 2.648 MB / 5.07 GB, free: 41.78 MB / 1.042 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.02333/13.4, allocations: 13.23 MB / 5.083 GB, free: 27.41 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/13.4, allocations: 1.815 MB / 5.085 GB, free: 25.6 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/13.41, allocations: 1.09 MB / 5.086 GB, free: 24.51 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004752/13.41, allocations: 325.2 kB / 5.086 GB, free: 24.14 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.365e-05/13.41, allocations: 63 kB / 5.086 GB, free: 24.07 MB / 1.042 GB Notification: Performance of pre-optimization done (n=186): time 4.408e-06/13.41, allocations: 0 / 5.086 GB, free: 24.07 MB / 1.042 GB Notification: Performance of matching and sorting (n=186): time 0.005403/13.41, allocations: 2.735 MB / 5.089 GB, free: 21.33 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/13.41, allocations: 77.34 kB / 5.089 GB, free: 21.25 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003803/13.42, allocations: 1.957 MB / 5.091 GB, free: 19.27 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003699/13.42, allocations: 73.7 kB / 5.091 GB, free: 19.19 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001048/13.42, allocations: 1.406 MB / 5.093 GB, free: 17.77 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000697/13.42, allocations: 0.6468 MB / 5.093 GB, free: 17.11 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/13.42, allocations: 40 kB / 5.093 GB, free: 17.07 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001593/13.42, allocations: 401.9 kB / 5.094 GB, free: 16.67 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/13.42, allocations: 0.7887 MB / 5.094 GB, free: 15.88 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/13.42, allocations: 1.469 MB / 5.096 GB, free: 14.12 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002908/13.42, allocations: 2.226 MB / 5.098 GB, free: 11.72 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/13.42, allocations: 0 / 5.098 GB, free: 11.72 MB / 1.042 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004355/13.43, allocations: 2.474 MB / 5.1 GB, free: 9.234 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002737/13.43, allocations: 470.5 kB / 5.101 GB, free: 8.602 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/13.43, allocations: 12 kB / 5.101 GB, free: 8.59 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.552e-05/13.43, allocations: 24 kB / 5.101 GB, free: 8.566 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/13.43, allocations: 0.5688 MB / 5.101 GB, free: 8.004 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/13.43, allocations: 4.157 MB / 5.105 GB, free: 3.684 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004158/13.44, allocations: 389.9 kB / 5.106 GB, free: 3.301 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002716/13.44, allocations: 87.98 kB / 5.106 GB, free: 3.215 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/13.44, allocations: 8 kB / 5.106 GB, free: 3.207 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003429/13.44, allocations: 2.214 MB / 5.108 GB, free: 0.9922 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-05/13.44, allocations: 12 kB / 5.108 GB, free: 0.9805 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/13.44, allocations: 24 kB / 5.108 GB, free: 0.957 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/13.44, allocations: 475.8 kB / 5.109 GB, free: 0.4922 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.074e-05/13.44, allocations: 35.86 kB / 5.109 GB, free: 468 kB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004537/13.45, allocations: 357.9 kB / 5.109 GB, free: 108 kB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002581/13.45, allocations: 95.97 kB / 5.109 GB, free: 12 kB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (261): * Single equations (assignments): 254 * 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.003301/13.45, allocations: 0.8557 MB / 5.11 GB, free: 15.14 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001415/13.45, allocations: 272.8 kB / 5.11 GB, free: 14.88 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005025/13.46, allocations: 2.126 MB / 5.112 GB, free: 12.74 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/13.46, allocations: 20 kB / 5.112 GB, free: 12.72 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/13.46, allocations: 0 / 5.112 GB, free: 12.72 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003129/13.46, allocations: 1.883 MB / 5.114 GB, free: 10.79 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/13.47, allocations: 5.184 MB / 5.119 GB, free: 5.5 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/13.47, allocations: 4 kB / 5.119 GB, free: 5.496 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002323/13.47, allocations: 0.52 MB / 5.12 GB, free: 4.984 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.784e-05/13.47, allocations: 11.98 kB / 5.12 GB, free: 4.973 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/13.48, allocations: 55.92 kB / 5.12 GB, free: 4.918 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/13.48, allocations: 4.118 MB / 5.124 GB, free: 0.6367 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/13.48, allocations: 4.031 kB / 5.124 GB, free: 0.6328 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8866/14.36, allocations: 3.375 MB / 5.127 GB, free: 115 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002581/14.37, allocations: 0.576 MB / 5.128 GB, free: 114.9 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007495/14.37, allocations: 41.91 kB / 5.128 GB, free: 114.9 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00313/14.37, allocations: 251.8 kB / 5.128 GB, free: 114.9 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003476/14.37, allocations: 118.9 kB / 5.128 GB, free: 114.9 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/14.37, allocations: 71.5 kB / 5.128 GB, free: 114.9 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.003131/14.37, allocations: 1.302 MB / 5.129 GB, free: 114.7 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.7e-07/14.37, allocations: 2.781 kB / 5.129 GB, free: 114.7 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.009465/14.38, allocations: 2.143 MB / 5.131 GB, free: 114.7 MB / 1.057 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 179 * 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.01001/14.39, allocations: 4.778 MB / 5.136 GB, free: 112.5 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.008708/14.4, allocations: 3.315 MB / 5.139 GB, free: 112.4 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.627e-05/14.4, allocations: 2.625 kB / 5.139 GB, free: 112.4 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002174/14.4, allocations: 1.037 MB / 5.14 GB, free: 112.4 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01201/14.42, allocations: 1.59 MB / 5.142 GB, free: 112.4 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/14.43, allocations: 7.867 MB / 5.15 GB, free: 109.3 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002353/14.44, allocations: 2.183 MB / 5.152 GB, free: 108.6 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.005167/14.44, allocations: 1.113 MB / 5.153 GB, free: 108.5 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008811/14.44, allocations: 233.6 kB / 5.153 GB, free: 108.5 MB / 1.057 GB Notification: Performance of SimCode: time 2.034e-06/14.44, allocations: 2.5 kB / 5.153 GB, free: 108.5 MB / 1.057 GB Notification: Performance of Templates: time 0.1928/14.63, allocations: 100.2 MB / 5.251 GB, free: 104.4 MB / 1.057 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)