Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009848/0.0009847, allocations: 184.9 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 0.5785 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008665/0.0008666, allocations: 95.84 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003947, allocations: 15.16 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2197, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9256/1.145, allocations: 449.1 MB / 1.34 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/1.146, allocations: 104.2 kB / 1.34 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.886/4.032, allocations: 0.844 GB / 2.184 GB, free: 117 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.944e-06/4.032, allocations: 2.953 kB / 2.184 GB, free: 117 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002774/4.032, allocations: 46.75 kB / 2.184 GB, free: 117 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.005852/4.038, allocations: 2.216 MB / 2.186 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/4.038, allocations: 10.19 kB / 2.186 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/4.04, allocations: 395.4 kB / 2.186 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01591/4.056, allocations: 7.789 MB / 2.194 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/4.056, allocations: 84.98 kB / 2.194 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004736/4.057, allocations: 105.8 kB / 2.194 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/4.06, allocations: 1.225 MB / 2.195 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.974e-05/4.06, allocations: 6.094 kB / 2.195 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/4.06, allocations: 41.53 kB / 2.196 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.606e-05/4.06, allocations: 34.11 kB / 2.196 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/4.062, allocations: 0.9628 MB / 2.196 GB, free: 115.2 MB / 0.8855 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.008152/4.071, allocations: 6.604 MB / 2.203 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/4.072, allocations: 0.8734 MB / 2.204 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007055/4.073, allocations: 423.4 kB / 2.204 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/4.074, allocations: 1.775 MB / 2.206 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008447/4.075, allocations: 488.2 kB / 2.206 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=77): time 3.937e-06/4.075, allocations: 0 / 2.206 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77): time 0.002698/4.078, allocations: 1.238 MB / 2.208 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/4.078, allocations: 84.33 kB / 2.208 GB, free: 109 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/4.08, allocations: 1.267 MB / 2.209 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/4.08, allocations: 44.23 kB / 2.209 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005615/4.081, allocations: 0.7058 MB / 2.21 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/4.081, allocations: 273.8 kB / 2.21 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/4.081, allocations: 19 kB / 2.21 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.811e-05/4.081, allocations: 343.3 kB / 2.21 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007004/4.082, allocations: 345.5 kB / 2.211 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008009/4.083, allocations: 0.6062 MB / 2.211 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/4.084, allocations: 0.9452 MB / 2.212 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/4.084, allocations: 0 / 2.212 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002422/4.087, allocations: 1.126 MB / 2.213 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/4.087, allocations: 278.5 kB / 2.213 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/4.087, allocations: 10.75 kB / 2.213 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-05/4.087, allocations: 12.78 kB / 2.213 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007743/4.088, allocations: 225.6 kB / 2.214 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.228e-05/4.088, allocations: 16.69 kB / 2.214 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/4.089, allocations: 181.8 kB / 2.214 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/4.09, allocations: 50.88 kB / 2.214 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/4.09, allocations: 6.094 kB / 2.214 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001859/4.091, allocations: 0.9702 MB / 2.215 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/4.091, allocations: 11.31 kB / 2.215 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/4.091, allocations: 9.25 kB / 2.215 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007959/4.092, allocations: 226.5 kB / 2.215 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-05/4.092, allocations: 18.95 kB / 2.215 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/4.094, allocations: 160.5 kB / 2.215 GB, free: 107 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/4.094, allocations: 47.77 kB / 2.215 GB, free: 107 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * 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.0008711/4.095, allocations: 416 kB / 2.216 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004117/4.095, allocations: 153.7 kB / 2.216 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003016/4.098, allocations: 1.468 MB / 2.217 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/4.098, allocations: 11.16 kB / 2.217 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/4.098, allocations: 2.406 kB / 2.217 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001697/4.1, allocations: 1.264 MB / 2.219 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004919/4.105, allocations: 2.73 MB / 2.221 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/4.105, allocations: 0 / 2.221 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007274/4.106, allocations: 178 kB / 2.221 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.477e-05/4.106, allocations: 3.562 kB / 2.221 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.956e-05/4.106, allocations: 28.83 kB / 2.221 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/4.106, allocations: 5.656 kB / 2.221 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/4.106, allocations: 10.25 kB / 2.221 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/4.109, allocations: 1.886 MB / 2.223 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008321/4.11, allocations: 377.8 kB / 2.224 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003636/4.11, allocations: 24.66 kB / 2.224 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/4.111, allocations: 108.8 kB / 2.224 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/4.111, allocations: 77.8 kB / 2.224 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.847e-05/4.112, allocations: 42.77 kB / 2.224 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001504/4.113, allocations: 0.8481 MB / 2.225 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.91e-07/4.113, allocations: 3.75 kB / 2.225 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003121/4.116, allocations: 0.8851 MB / 2.226 GB, free: 105.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (pipe.cor.del.x,pipe.cor.timDel.x,pipe.vol.dynBal.U,senEntOut.h_out,eneLosInt.y,senEntIn.h_out) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 2 * 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.002746/4.119, allocations: 1.278 MB / 2.227 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0031/4.122, allocations: 1.598 MB / 2.228 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/4.122, allocations: 2.594 kB / 2.228 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009564/4.123, allocations: 0.6139 MB / 2.229 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003319/4.126, allocations: 0.6214 MB / 2.23 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006749/4.133, allocations: 3.763 MB / 2.233 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009164/4.134, allocations: 1.251 MB / 2.235 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001703/4.136, allocations: 405.3 kB / 2.235 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/4.136, allocations: 144.7 kB / 2.235 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of SimCode: time 9.42e-07/4.136, allocations: 0 / 2.235 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.05115/4.187, allocations: 33.34 MB / 2.268 GB, free: 100.4 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)