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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 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.9028/0.9028, allocations: 141.8 MB / 149.3 MB, free: 9.238 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 183.8 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 92.09 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001905/0.001905, allocations: 274 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.842e-05/1.844e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.5035, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.44/1.944, allocations: 440.1 MB / 1.187 GB, free: 261.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/1.944, allocations: 98.14 kB / 1.187 GB, free: 261.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.675/5.619, allocations: 0.944 GB / 2.131 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.044e-06/5.619, allocations: 1.625 kB / 2.131 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0008039/5.62, allocations: 139.9 kB / 2.131 GB, free: 54.6 MB / 0.7136 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.02209/5.642, allocations: 4.649 MB / 2.136 GB, free: 52.85 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/5.642, allocations: 10.88 kB / 2.136 GB, free: 52.85 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005289/5.647, allocations: 0.5813 MB / 2.136 GB, free: 52.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01587/5.663, allocations: 4.045 MB / 2.14 GB, free: 51.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005281/5.664, allocations: 124.5 kB / 2.141 GB, free: 51.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003733/5.668, allocations: 232.4 kB / 2.141 GB, free: 51.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01421/5.682, allocations: 4.96 MB / 2.146 GB, free: 51.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01782/5.7, allocations: 5.411 MB / 2.151 GB, free: 51.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000321/5.7, allocations: 15.75 kB / 2.151 GB, free: 51.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002028/5.702, allocations: 7.531 kB / 2.151 GB, free: 51.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005767/5.703, allocations: 382.3 kB / 2.151 GB, free: 51.01 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.04792/5.751, allocations: 24.26 MB / 2.175 GB, free: 35.99 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00836/5.759, allocations: 4.28 MB / 2.179 GB, free: 34.38 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004291/5.764, allocations: 2.232 MB / 2.181 GB, free: 33.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02758/5.791, allocations: 12.35 MB / 2.193 GB, free: 25.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004179/5.795, allocations: 2.094 MB / 2.195 GB, free: 24.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004004/5.799, allocations: 0.5723 MB / 2.196 GB, free: 24.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=310): time 1.74e-05/5.799, allocations: 0 / 2.196 GB, free: 24.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=334): time 0.08999/5.889, allocations: 18.48 MB / 2.214 GB, free: 18.33 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/5.89, allocations: 115.7 kB / 2.214 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005897/5.896, allocations: 2.191 MB / 2.216 GB, free: 16.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001496/5.897, allocations: 33.03 kB / 2.216 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002192/5.899, allocations: 2.063 MB / 2.218 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002054/5.901, allocations: 1.115 MB / 2.219 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/5.902, allocations: 0 / 2.219 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003879/5.903, allocations: 468.7 kB / 2.22 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003623/5.906, allocations: 1.802 MB / 2.222 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004124/5.911, allocations: 2.82 MB / 2.224 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02329/5.934, allocations: 5.238 MB / 2.23 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.164e-05/5.934, allocations: 15.88 kB / 2.23 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03433/5.968, allocations: 7.975 MB / 2.237 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.005102/5.974, allocations: 11.94 MB / 2.249 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/5.974, allocations: 28 kB / 2.249 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001247/5.974, allocations: 52 kB / 2.249 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03426/6.008, allocations: 4.249 MB / 2.253 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/6.021, allocations: 5.464 MB / 2.259 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006682/6.028, allocations: 307.4 kB / 2.259 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001744/6.03, allocations: 203.9 kB / 2.259 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/6.03, allocations: 5.406 kB / 2.259 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02447/6.054, allocations: 6.029 MB / 2.265 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001012/6.054, allocations: 30.88 kB / 2.265 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.74e-05/6.054, allocations: 52 kB / 2.265 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006931/6.061, allocations: 1.377 MB / 2.266 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001014/6.061, allocations: 67.78 kB / 2.266 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005271/6.067, allocations: 303.2 kB / 2.267 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/6.068, allocations: 199.9 kB / 2.267 GB, free: 0.8086 MB / 0.7448 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 () * 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.002106/6.07, allocations: 213.1 kB / 2.267 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001682/6.072, allocations: 375.4 kB / 2.267 GB, free: 224 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6379/6.71, allocations: 7.9 MB / 2.275 GB, free: 83.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.697e-05/6.71, allocations: 42.92 kB / 2.275 GB, free: 83.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/6.71, allocations: 0 / 2.275 GB, free: 83.45 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02608/6.736, allocations: 6.88 MB / 2.282 GB, free: 83.11 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0456/6.781, allocations: 14.08 MB / 2.296 GB, free: 82.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.743e-05/6.782, allocations: 12.97 kB / 2.296 GB, free: 82.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03119/6.813, allocations: 3.817 MB / 2.299 GB, free: 82.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/6.813, allocations: 39.78 kB / 2.299 GB, free: 82.29 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001257/6.814, allocations: 61.41 kB / 2.3 GB, free: 82.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01074/6.825, allocations: 5.328 MB / 2.305 GB, free: 78.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.131e-05/6.825, allocations: 22.56 kB / 2.305 GB, free: 78.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03813/6.863, allocations: 11.81 MB / 2.316 GB, free: 76.33 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003969/6.867, allocations: 0.9448 MB / 2.317 GB, free: 76.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00194/6.869, allocations: 39.12 kB / 2.317 GB, free: 76.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004782/6.874, allocations: 205.8 kB / 2.317 GB, free: 76.23 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008443/6.875, allocations: 279.3 kB / 2.318 GB, free: 76.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009748/6.876, allocations: 164.8 kB / 2.318 GB, free: 76.22 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00401/6.88, allocations: 1.59 MB / 2.319 GB, free: 76.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.91e-07/6.88, allocations: 1.625 kB / 2.319 GB, free: 76.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01349/6.893, allocations: 2.394 MB / 2.322 GB, free: 76.07 MB / 0.7448 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) * 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.005713/6.899, allocations: 1.812 MB / 2.324 GB, free: 75.89 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.05872/6.958, allocations: 11.45 MB / 2.335 GB, free: 75.81 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-05/6.958, allocations: 4.469 kB / 2.335 GB, free: 75.81 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.04675/7.005, allocations: 6.617 MB / 2.341 GB, free: 75.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01015/7.015, allocations: 1.316 MB / 2.342 GB, free: 75.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02321/7.038, allocations: 8.702 MB / 2.351 GB, free: 73.76 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00461/7.043, allocations: 3.154 MB / 2.354 GB, free: 72.9 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.01166/7.055, allocations: 2.747 MB / 2.357 GB, free: 72.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/7.056, allocations: 333.2 kB / 2.357 GB, free: 72.66 MB / 0.7448 GB Notification: Performance of SimCode: time 1.393e-06/7.056, allocations: 0 / 2.357 GB, free: 72.66 MB / 0.7448 GB Notification: Performance of Templates: time 0.1393/7.195, allocations: 78.31 MB / 2.434 GB, free: 67.59 MB / 0.7448 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)