Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7651/0.7651, allocations: 140.1 MB / 156 MB, free: 5.129 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.001042/0.001042, allocations: 186.4 kB / 188.5 MB, free: 15.79 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.4 MB / 426.3 MB, free: 8.449 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008726/0.0008726, allocations: 105.5 kB / 0.4945 GB, free: 8.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001686/0.001686, allocations: 280.7 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005289/0.000529, allocations: 16 kB / 0.662 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.395, allocations: 79.3 MB / 0.7395 GB, free: 46.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7509/1.146, allocations: 401.4 MB / 1.131 GB, free: 8.559 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/1.146, allocations: 94.83 kB / 1.132 GB, free: 8.508 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.691/2.838, allocations: 0.5071 GB / 1.639 GB, free: 69.04 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.244e-06/2.838, allocations: 0 / 1.639 GB, free: 69.04 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002376/2.838, allocations: 40.14 kB / 1.639 GB, free: 69 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.005541/2.844, allocations: 1.927 MB / 1.641 GB, free: 67.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/2.844, allocations: 8.031 kB / 1.641 GB, free: 67.01 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009154/2.844, allocations: 183 kB / 1.641 GB, free: 66.83 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04326/2.888, allocations: 23.65 MB / 1.664 GB, free: 42.87 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/2.888, allocations: 104.6 kB / 1.664 GB, free: 42.76 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003364/2.888, allocations: 91.98 kB / 1.664 GB, free: 42.67 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/2.891, allocations: 1.12 MB / 1.665 GB, free: 41.52 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/2.891, allocations: 7.906 kB / 1.665 GB, free: 41.51 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/2.891, allocations: 36 kB / 1.665 GB, free: 41.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/2.891, allocations: 35.98 kB / 1.665 GB, free: 41.44 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/2.893, allocations: 0.8431 MB / 1.666 GB, free: 40.6 MB / 0.6823 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.006354/2.899, allocations: 4.612 MB / 1.67 GB, free: 35.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007774/2.9, allocations: 0.5188 MB / 1.671 GB, free: 35.17 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004388/2.9, allocations: 307.2 kB / 1.671 GB, free: 34.87 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006894/2.901, allocations: 0.9227 MB / 1.672 GB, free: 33.74 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/2.901, allocations: 39.12 kB / 1.672 GB, free: 33.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=56): time 3.296e-06/2.901, allocations: 4 kB / 1.672 GB, free: 33.69 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56): time 0.001645/2.903, allocations: 0.8488 MB / 1.673 GB, free: 32.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/2.903, allocations: 63.97 kB / 1.673 GB, free: 32.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/2.904, allocations: 1.148 MB / 1.674 GB, free: 31.61 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.184e-05/2.904, allocations: 37.7 kB / 1.674 GB, free: 31.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/2.905, allocations: 0.5984 MB / 1.675 GB, free: 30.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/2.905, allocations: 201.1 kB / 1.675 GB, free: 30.76 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/2.905, allocations: 12 kB / 1.675 GB, free: 30.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.048e-05/2.905, allocations: 341.8 kB / 1.675 GB, free: 30.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/2.906, allocations: 245.1 kB / 1.676 GB, free: 30.17 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/2.906, allocations: 431.5 kB / 1.676 GB, free: 29.68 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008677/2.907, allocations: 0.6545 MB / 1.677 GB, free: 28.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/2.907, allocations: 0 / 1.677 GB, free: 28.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001422/2.908, allocations: 0.8017 MB / 1.677 GB, free: 28.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/2.909, allocations: 207.6 kB / 1.678 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/2.909, allocations: 4 kB / 1.678 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/2.909, allocations: 8 kB / 1.678 GB, free: 27.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007505/2.909, allocations: 187.7 kB / 1.678 GB, free: 27.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004461/2.91, allocations: 1.184 MB / 1.679 GB, free: 26.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/2.911, allocations: 115.2 kB / 1.679 GB, free: 26.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-05/2.911, allocations: 31.98 kB / 1.679 GB, free: 26.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/2.911, allocations: 4 kB / 1.679 GB, free: 26.32 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001005/2.912, allocations: 0.6648 MB / 1.68 GB, free: 25.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/2.912, allocations: 4.531 kB / 1.68 GB, free: 25.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/2.912, allocations: 15.94 kB / 1.68 GB, free: 25.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/2.912, allocations: 151.8 kB / 1.68 GB, free: 25.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/2.913, allocations: 8 kB / 1.68 GB, free: 25.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009335/2.913, allocations: 103.5 kB / 1.68 GB, free: 25.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.47e-05/2.914, allocations: 38.98 kB / 1.68 GB, free: 25.34 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007836/2.914, allocations: 0.4929 MB / 1.681 GB, free: 24.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/2.915, allocations: 134.3 kB / 1.681 GB, free: 24.71 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/2.916, allocations: 0.8547 MB / 1.682 GB, free: 23.84 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/2.916, allocations: 8 kB / 1.682 GB, free: 23.83 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/2.916, allocations: 0 / 1.682 GB, free: 23.83 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008504/2.917, allocations: 0.7008 MB / 1.682 GB, free: 23.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/2.92, allocations: 1.91 MB / 1.684 GB, free: 21.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/2.92, allocations: 0 / 1.684 GB, free: 21.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000541/2.921, allocations: 147.8 kB / 1.684 GB, free: 20.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/2.921, allocations: 4 kB / 1.684 GB, free: 20.98 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/2.921, allocations: 15.98 kB / 1.684 GB, free: 20.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003455/2.921, allocations: 1.176 MB / 1.685 GB, free: 19.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/2.921, allocations: 0 / 1.685 GB, free: 19.74 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/2.923, allocations: 1.222 MB / 1.687 GB, free: 18.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007119/2.924, allocations: 299.2 kB / 1.687 GB, free: 18.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003064/2.924, allocations: 19.75 kB / 1.687 GB, free: 18.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009607/2.925, allocations: 79.92 kB / 1.687 GB, free: 18.09 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/2.925, allocations: 32.52 kB / 1.687 GB, free: 18.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-05/2.925, allocations: 31.97 kB / 1.687 GB, free: 18.03 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001343/2.927, allocations: 0.8011 MB / 1.688 GB, free: 17.22 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/2.927, allocations: 0 / 1.688 GB, free: 17.22 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002533/2.929, allocations: 0.6861 MB / 1.688 GB, free: 16.54 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip1.vol[1].dynBal.U,pip2.vol[1].dynBal.U,senTem.T,senTem1.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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00118/2.93, allocations: 0.5992 MB / 1.689 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001984/2.932, allocations: 1.027 MB / 1.69 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/2.932, allocations: 4 kB / 1.69 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005773/2.933, allocations: 351.6 kB / 1.69 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003608/2.937, allocations: 0.7318 MB / 1.691 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/2.941, allocations: 3.063 MB / 1.694 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009152/2.942, allocations: 1.343 MB / 1.695 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001626/2.943, allocations: 438.2 kB / 1.696 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/2.944, allocations: 107.4 kB / 1.696 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of SimCode: time 6.01e-07/2.944, allocations: 0 / 1.696 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of Templates: time 0.407/3.351, allocations: 27.99 MB / 1.723 GB, free: 110.9 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)