Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.503/2.503, allocations: 287.5 MB / 303.2 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001284/0.001283, allocations: 174.2 kB / 371.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009016/0.0009011, allocations: 92.86 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006255/0.0006257, allocations: 14.41 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2222, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.408/1.631, allocations: 440.7 MB / 1.41 GB, free: 6.512 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/1.631, allocations: 96.14 kB / 1.41 GB, free: 6.461 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.717/4.348, allocations: 465.6 MB / 1.864 GB, free: 201.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.304e-06/4.348, allocations: 3.062 kB / 1.864 GB, free: 201.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002005/4.349, allocations: 30.14 kB / 1.864 GB, free: 201.3 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.006256/4.355, allocations: 1.625 MB / 1.866 GB, free: 200.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/4.355, allocations: 9.219 kB / 1.866 GB, free: 200.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008396/4.356, allocations: 136.2 kB / 1.866 GB, free: 200.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02588/4.382, allocations: 7.486 MB / 1.873 GB, free: 200.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.764e-05/4.382, allocations: 54.94 kB / 1.874 GB, free: 200.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002804/4.382, allocations: 73.81 kB / 1.874 GB, free: 200.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/4.384, allocations: 0.769 MB / 1.874 GB, free: 200 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.334e-05/4.384, allocations: 0 / 1.874 GB, free: 200 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/4.385, allocations: 29.31 kB / 1.874 GB, free: 200 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/4.385, allocations: 19.16 kB / 1.874 GB, free: 200 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/4.386, allocations: 0.5559 MB / 1.875 GB, free: 200 MB / 0.948 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.007834/4.394, allocations: 3.882 MB / 1.879 GB, free: 198 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/4.396, allocations: 473.5 kB / 1.879 GB, free: 198 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006189/4.396, allocations: 220.8 kB / 1.879 GB, free: 198 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001358/4.398, allocations: 1.512 MB / 1.881 GB, free: 196.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/4.398, allocations: 40.12 kB / 1.881 GB, free: 196.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=46): time 3.286e-06/4.398, allocations: 0 / 1.881 GB, free: 196.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=46): time 0.002287/4.4, allocations: 0.6649 MB / 1.882 GB, free: 196.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/4.4, allocations: 64.62 kB / 1.882 GB, free: 196.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/4.402, allocations: 0.9588 MB / 1.883 GB, free: 195.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/4.402, allocations: 39.17 kB / 1.883 GB, free: 195.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/4.403, allocations: 483.6 kB / 1.883 GB, free: 195.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/4.403, allocations: 161.5 kB / 1.883 GB, free: 195.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/4.403, allocations: 12.84 kB / 1.883 GB, free: 195.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.674e-05/4.403, allocations: 327.3 kB / 1.884 GB, free: 195.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006115/4.404, allocations: 176.2 kB / 1.884 GB, free: 195.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006447/4.405, allocations: 337.4 kB / 1.884 GB, free: 195.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/4.406, allocations: 0.5107 MB / 1.885 GB, free: 195.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/4.406, allocations: 3.125 kB / 1.885 GB, free: 195.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002023/4.408, allocations: 0.6453 MB / 1.885 GB, free: 195 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000115/4.408, allocations: 198.8 kB / 1.885 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/4.408, allocations: 3.281 kB / 1.885 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.778e-05/4.408, allocations: 7.812 kB / 1.885 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008524/4.409, allocations: 125.9 kB / 1.885 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/4.409, allocations: 10.88 kB / 1.886 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/4.411, allocations: 98.73 kB / 1.886 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/4.411, allocations: 35.89 kB / 1.886 GB, free: 194.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/4.411, allocations: 3.812 kB / 1.886 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001619/4.412, allocations: 0.5233 MB / 1.886 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/4.412, allocations: 3.969 kB / 1.886 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/4.412, allocations: 7.844 kB / 1.886 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008072/4.413, allocations: 128.4 kB / 1.886 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/4.413, allocations: 12.59 kB / 1.886 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/4.415, allocations: 100.2 kB / 1.886 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/4.415, allocations: 27.28 kB / 1.886 GB, free: 194.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007458/4.416, allocations: 346.5 kB / 1.887 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/4.416, allocations: 108.8 kB / 1.887 GB, free: 194.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/4.419, allocations: 0.975 MB / 1.888 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/4.419, allocations: 11.47 kB / 1.888 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/4.419, allocations: 0 / 1.888 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001592/4.42, allocations: 0.8469 MB / 1.889 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004955/4.425, allocations: 1.969 MB / 1.891 GB, free: 193.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-05/4.425, allocations: 3.781 kB / 1.891 GB, free: 193.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007619/4.426, allocations: 98.62 kB / 1.891 GB, free: 193.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/4.426, allocations: 6.438 kB / 1.891 GB, free: 193.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.736e-05/4.426, allocations: 20.77 kB / 1.891 GB, free: 193.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.934e-06/4.426, allocations: 3.812 kB / 1.891 GB, free: 193.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/4.426, allocations: 11.69 kB / 1.891 GB, free: 193.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002781/4.429, allocations: 1.204 MB / 1.892 GB, free: 193.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008478/4.43, allocations: 292.1 kB / 1.892 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/4.43, allocations: 13.84 kB / 1.892 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/4.431, allocations: 48.91 kB / 1.892 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/4.432, allocations: 61.95 kB / 1.892 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.675e-05/4.432, allocations: 26.08 kB / 1.892 GB, free: 193.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001527/4.433, allocations: 0.6831 MB / 1.893 GB, free: 193 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.31e-07/4.433, allocations: 0 / 1.893 GB, free: 193 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002993/4.436, allocations: 0.6089 MB / 1.894 GB, free: 193 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.T) * 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 (62): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001828/4.438, allocations: 0.725 MB / 1.894 GB, free: 192.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002526/4.441, allocations: 0.9315 MB / 1.895 GB, free: 192.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/4.441, allocations: 0 / 1.895 GB, free: 192.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009097/4.442, allocations: 411 kB / 1.896 GB, free: 192.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005631/4.447, allocations: 0.5686 MB / 1.896 GB, free: 192.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005204/4.453, allocations: 2.471 MB / 1.899 GB, free: 191.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000648/4.453, allocations: 1.06 MB / 1.9 GB, free: 190.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001867/4.455, allocations: 299.9 kB / 1.9 GB, free: 190.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/4.456, allocations: 104.1 kB / 1.9 GB, free: 190.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.603e-06/4.456, allocations: 0 / 1.9 GB, free: 190.8 MB / 0.948 GB Notification: Performance of Templates: time 0.06349/4.519, allocations: 26.25 MB / 1.926 GB, free: 190 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)