Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5547/0.5547, allocations: 95.62 MB / 110.6 MB, free: 9.363 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001493/0.001494, allocations: 165.9 kB / 134.2 MB, free: 2.258 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.559/1.559, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00176/0.00176, allocations: 112.7 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004488/0.0004488, allocations: 8 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 61.54 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.554/1.713, allocations: 448.9 MB / 0.9503 GB, free: 193.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/1.713, allocations: 88.67 kB / 0.9504 GB, free: 193.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.692/4.406, allocations: 0.7197 GB / 1.67 GB, free: 61.97 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.846e-06/4.406, allocations: 5.875 kB / 1.67 GB, free: 61.97 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002609/4.406, allocations: 89.25 kB / 1.67 GB, free: 61.96 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.008486/4.414, allocations: 3.021 MB / 1.673 GB, free: 60.36 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/4.415, allocations: 11.64 kB / 1.673 GB, free: 60.36 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/4.417, allocations: 383.7 kB / 1.674 GB, free: 60.19 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006404/4.423, allocations: 2.683 MB / 1.676 GB, free: 59.69 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002637/4.423, allocations: 239.8 kB / 1.676 GB, free: 59.62 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005194/4.424, allocations: 236.8 kB / 1.677 GB, free: 59.62 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00524/4.429, allocations: 2.643 MB / 1.679 GB, free: 59.18 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.679e-05/4.429, allocations: 12.42 kB / 1.679 GB, free: 59.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000243/4.429, allocations: 101.7 kB / 1.679 GB, free: 59.18 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/4.43, allocations: 53.75 kB / 1.679 GB, free: 59.18 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/4.433, allocations: 2.049 MB / 1.681 GB, free: 59.11 MB / 0.5417 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.0152/4.448, allocations: 11.63 MB / 1.693 GB, free: 52.46 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/4.451, allocations: 1.262 MB / 1.694 GB, free: 52.42 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005744/4.456, allocations: 3.212 MB / 1.697 GB, free: 50.83 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/4.456, allocations: 53.66 kB / 1.697 GB, free: 50.79 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=126): time 5.05e-06/4.457, allocations: 0 / 1.697 GB, free: 50.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=151): time 0.0168/4.473, allocations: 5.467 MB / 1.702 GB, free: 49.83 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/4.473, allocations: 153.4 kB / 1.703 GB, free: 49.67 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003777/4.477, allocations: 1.675 MB / 1.704 GB, free: 49.45 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003251/4.478, allocations: 62.95 kB / 1.704 GB, free: 49.41 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001164/4.479, allocations: 1.265 MB / 1.706 GB, free: 48.91 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005319/4.479, allocations: 0.5346 MB / 1.706 GB, free: 48.57 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/4.479, allocations: 51 kB / 1.706 GB, free: 48.56 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001293/4.48, allocations: 382.7 kB / 1.706 GB, free: 48.26 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/4.481, allocations: 0.6947 MB / 1.707 GB, free: 48.25 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/4.482, allocations: 1.433 MB / 1.709 GB, free: 47.33 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/4.484, allocations: 1.139 MB / 1.71 GB, free: 46.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.213e-05/4.484, allocations: 7.719 kB / 1.71 GB, free: 46.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.004407/4.488, allocations: 2.607 MB / 1.712 GB, free: 45.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002083/4.49, allocations: 8.504 MB / 1.721 GB, free: 36.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-05/4.491, allocations: 18.28 kB / 1.721 GB, free: 36.17 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.508e-05/4.491, allocations: 40.38 kB / 1.721 GB, free: 36.17 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003086/4.494, allocations: 0.6892 MB / 1.721 GB, free: 36.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/4.495, allocations: 4.142 MB / 1.725 GB, free: 31.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003073/4.498, allocations: 245.6 kB / 1.726 GB, free: 31.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003644/4.499, allocations: 104.8 kB / 1.726 GB, free: 31.87 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/4.499, allocations: 6.281 kB / 1.726 GB, free: 31.87 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004514/4.503, allocations: 2.387 MB / 1.728 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.399e-05/4.503, allocations: 18.28 kB / 1.728 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.428e-05/4.503, allocations: 34.47 kB / 1.728 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/4.505, allocations: 0.5148 MB / 1.729 GB, free: 30.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-05/4.505, allocations: 46.78 kB / 1.729 GB, free: 30.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003118/4.508, allocations: 234.6 kB / 1.729 GB, free: 30.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002725/4.509, allocations: 107.8 kB / 1.729 GB, free: 30.66 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (272): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 7 * 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.002421/4.511, allocations: 0.7058 MB / 1.73 GB, free: 30.21 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/4.512, allocations: 249.7 kB / 1.73 GB, free: 30.08 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004277/4.517, allocations: 1.589 MB / 1.731 GB, free: 29.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/4.517, allocations: 15.28 kB / 1.731 GB, free: 29.41 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/4.517, allocations: 0 / 1.731 GB, free: 29.41 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/4.517, allocations: 11.34 kB / 1.731 GB, free: 29.41 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/4.528, allocations: 3.647 MB / 1.735 GB, free: 27.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/4.528, allocations: 0 / 1.735 GB, free: 27.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002932/4.531, allocations: 0.5112 MB / 1.735 GB, free: 27.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.904e-05/4.531, allocations: 6.312 kB / 1.735 GB, free: 27.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/4.531, allocations: 37.8 kB / 1.736 GB, free: 27.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002548/4.534, allocations: 4.104 MB / 1.74 GB, free: 23.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/4.534, allocations: 0 / 1.74 GB, free: 23.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005163/4.539, allocations: 2.347 MB / 1.742 GB, free: 21.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/4.541, allocations: 311.5 kB / 1.742 GB, free: 21.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/4.542, allocations: 31.22 kB / 1.742 GB, free: 21.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/4.545, allocations: 160.8 kB / 1.742 GB, free: 21.48 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/4.545, allocations: 86.72 kB / 1.742 GB, free: 21.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002867/4.545, allocations: 58.58 kB / 1.742 GB, free: 21.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002863/4.548, allocations: 1.257 MB / 1.744 GB, free: 20.23 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/4.548, allocations: 0 / 1.744 GB, free: 20.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00678/4.555, allocations: 1.359 MB / 1.745 GB, free: 18.88 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (vol.dynBal.medium.p,vol.dynBal.medium.T,vol.dynBal.mC[1],vol1.dynBal.medium.p,vol1.dynBal.medium.T,vol1.dynBal.mC[1],vol2.dynBal.medium.p,vol2.dynBal.medium.T,vol2.dynBal.mC[1],vol3.dynBal.medium.p,vol3.dynBal.medium.T,vol3.dynBal.mC[1],vol4.dynBal.medium.p,vol4.dynBal.medium.T,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 (151): * Single equations (assignments): 144 * 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.002113/4.557, allocations: 0.6679 MB / 1.746 GB, free: 18.28 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007505/4.564, allocations: 3.808 MB / 1.749 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/4.564, allocations: 448 / 1.749 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002511/4.567, allocations: 0.8744 MB / 1.75 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006995/4.574, allocations: 1.108 MB / 1.751 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/4.587, allocations: 6.178 MB / 1.757 GB, free: 6.254 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002288/4.59, allocations: 1.881 MB / 1.759 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003807/4.594, allocations: 0.7955 MB / 1.76 GB, free: 3.566 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007281/4.594, allocations: 195.4 kB / 1.76 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of SimCode: time 1.312e-06/4.594, allocations: 0 / 1.76 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of Templates: time 0.5012/5.096, allocations: 44.78 MB / 1.804 GB, free: 70.93 MB / 0.5573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)