Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.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.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7689/0.7689, allocations: 140.1 MB / 156 MB, free: 5.172 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.001098/0.001098, allocations: 186.3 kB / 188.5 MB, free: 15.83 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.711/1.711, allocations: 205.4 MB / 426.4 MB, free: 8.473 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.0009387/0.0009389, allocations: 88.27 kB / 0.4945 GB, free: 8.418 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001725/0.001725, allocations: 275.8 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007027/0.0007027, allocations: 16 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4994/0.5001, allocations: 79.31 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.105/1.605, allocations: 439.3 MB / 1.168 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003828/1.606, allocations: 101.5 kB / 1.169 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.28/4.886, allocations: 0.932 GB / 2.101 GB, free: 53.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.819e-06/4.886, allocations: 0 / 2.101 GB, free: 53.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006455/4.887, allocations: 137.8 kB / 2.101 GB, free: 53.8 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.01995/4.907, allocations: 5.256 MB / 2.106 GB, free: 51.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/4.907, allocations: 10.16 kB / 2.106 GB, free: 51.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003844/4.911, allocations: 0.5869 MB / 2.106 GB, free: 51.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/4.923, allocations: 4.017 MB / 2.11 GB, free: 50.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004918/4.923, allocations: 289.6 kB / 2.111 GB, free: 50.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00227/4.926, allocations: 397.3 kB / 2.111 GB, free: 50.67 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/4.94, allocations: 6.052 MB / 2.117 GB, free: 49.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002306/4.94, allocations: 23.98 kB / 2.117 GB, free: 49.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001466/4.942, allocations: 168.2 kB / 2.117 GB, free: 49.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005748/4.943, allocations: 385.9 kB / 2.117 GB, free: 49.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/4.953, allocations: 5.312 MB / 2.123 GB, free: 49.81 MB / 0.698 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.03174/4.985, allocations: 24.88 MB / 2.147 GB, free: 36.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006318/4.991, allocations: 4.501 MB / 2.151 GB, free: 35.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002999/4.994, allocations: 2.368 MB / 2.154 GB, free: 34.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02018/5.015, allocations: 12.31 MB / 2.166 GB, free: 26.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003582/5.018, allocations: 2.238 MB / 2.168 GB, free: 26.06 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003639/5.022, allocations: 0.6683 MB / 2.168 GB, free: 25.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=310): time 2.589e-05/5.022, allocations: 0 / 2.168 GB, free: 25.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=334): time 0.02954/5.052, allocations: 13.17 MB / 2.181 GB, free: 20.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/5.052, allocations: 117.2 kB / 2.181 GB, free: 20.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006726/5.058, allocations: 3.169 MB / 2.185 GB, free: 19.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005947/5.059, allocations: 97.5 kB / 2.185 GB, free: 19.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001826/5.061, allocations: 2.056 MB / 2.187 GB, free: 18.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009272/5.062, allocations: 1.159 MB / 2.188 GB, free: 17.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/5.062, allocations: 81 kB / 2.188 GB, free: 17.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001791/5.062, allocations: 473.1 kB / 2.188 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002648/5.065, allocations: 1.912 MB / 2.19 GB, free: 16.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00314/5.068, allocations: 2.975 MB / 2.193 GB, free: 14.19 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005808/5.074, allocations: 5.135 MB / 2.198 GB, free: 9.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.454e-05/5.074, allocations: 8 kB / 2.198 GB, free: 9.902 MB / 0.698 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.007986/5.082, allocations: 5.526 MB / 2.204 GB, free: 5.023 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000457/5.082, allocations: 0.9199 MB / 2.204 GB, free: 3.723 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/5.082, allocations: 28 kB / 2.204 GB, free: 3.695 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.294e-05/5.082, allocations: 48 kB / 2.204 GB, free: 3.648 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02904/5.112, allocations: 4.223 MB / 2.209 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003025/5.115, allocations: 3.967 MB / 2.212 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006103/5.121, allocations: 388.9 kB / 2.213 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/5.122, allocations: 205.8 kB / 2.213 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/5.122, allocations: 4.625 kB / 2.213 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01259/5.135, allocations: 5.011 MB / 2.218 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.638e-05/5.135, allocations: 28 kB / 2.218 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-05/5.135, allocations: 48 kB / 2.218 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006492/5.142, allocations: 1.372 MB / 2.219 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001202/5.142, allocations: 66.8 kB / 2.219 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005359/5.147, allocations: 382.2 kB / 2.22 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009828/5.148, allocations: 207.5 kB / 2.22 GB, free: 6.086 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004512/5.153, allocations: 1.242 MB / 2.221 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001854/5.154, allocations: 406.8 kB / 2.222 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/5.165, allocations: 5.391 MB / 2.227 GB, free: 80 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.686e-05/5.165, allocations: 47.52 kB / 2.227 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/5.165, allocations: 0 / 2.227 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006553/5.172, allocations: 4.283 MB / 2.231 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02076/5.193, allocations: 11.89 MB / 2.243 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/5.193, allocations: 13 kB / 2.243 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.5321/5.725, allocations: 3.854 MB / 2.246 GB, free: 80.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001351/5.725, allocations: 26.22 kB / 2.246 GB, free: 80.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001242/5.726, allocations: 114.6 kB / 2.247 GB, free: 80.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/5.729, allocations: 3.871 MB / 2.25 GB, free: 77.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.833e-05/5.729, allocations: 20.09 kB / 2.25 GB, free: 77.44 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/5.744, allocations: 8.061 MB / 2.258 GB, free: 76.51 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003179/5.747, allocations: 0.959 MB / 2.259 GB, free: 76.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001134/5.749, allocations: 92.48 kB / 2.259 GB, free: 76.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004038/5.753, allocations: 272.4 kB / 2.26 GB, free: 76.42 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000672/5.753, allocations: 280.5 kB / 2.26 GB, free: 76.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000438/5.754, allocations: 167.2 kB / 2.26 GB, free: 76.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003588/5.757, allocations: 2.09 MB / 2.262 GB, free: 76.26 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.71e-07/5.757, allocations: 1.438 kB / 2.262 GB, free: 76.26 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.009308/5.767, allocations: 2.594 MB / 2.265 GB, free: 76.26 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 17 (pip0.mediums[1].T,pip0.mediums[2].T,pip1.mediums[1].T,pip1.mediums[2].T,pip2.mediums[1].T,pip2.mediums[2].T,pip3.mediums[1].T,pip3.mediums[2].T,pip4.mediums[1].T,pip4.mediums[2].T,pip5.mediums[1].T,pip5.mediums[2].T,senTem_p2.T,senTem_p3.T,senTemIn_p2.T,senTem_p1.T,senTem_p4.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (395): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004111/5.771, allocations: 1.893 MB / 2.266 GB, free: 76.04 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.05232/5.823, allocations: 11.82 MB / 2.278 GB, free: 75.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-05/5.823, allocations: 6.188 kB / 2.278 GB, free: 75.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.04304/5.866, allocations: 6.783 MB / 2.285 GB, free: 75.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0154/5.882, allocations: 1.602 MB / 2.286 GB, free: 75.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/5.9, allocations: 12.27 MB / 2.298 GB, free: 71.35 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00265/5.902, allocations: 3.048 MB / 2.301 GB, free: 70.54 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.008487/5.911, allocations: 2.532 MB / 2.304 GB, free: 70.47 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/5.912, allocations: 383.5 kB / 2.304 GB, free: 70.47 MB / 0.7292 GB Notification: Performance of SimCode: time 1.062e-06/5.912, allocations: 0 / 2.304 GB, free: 70.47 MB / 0.7292 GB Notification: Performance of Templates: time 0.1329/6.045, allocations: 85.75 MB / 2.388 GB, free: 65.3 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)