Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.conf.json 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/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008099/0.0008102, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005162/0.005162, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003725, allocations: 10.16 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3504, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir): time 0.9526/1.303, allocations: 303.6 MB / 1.371 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03366/1.337, allocations: 26.48 MB / 1.396 GB, free: 11.99 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005436/1.342, allocations: 107.7 kB / 1.397 GB, free: 11.99 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004448/1.347, allocations: 1.375 MB / 1.398 GB, free: 11.66 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01532/1.362, allocations: 5.238 MB / 1.403 GB, free: 9.301 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.009421/1.371, allocations: 3.34 MB / 1.406 GB, free: 6.773 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01376/1.385, allocations: 11.4 MB / 1.417 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00428/1.39, allocations: 2.436 MB / 1.42 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007492/1.397, allocations: 3.141 MB / 1.423 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005268/1.402, allocations: 2.437 MB / 1.425 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0006897/1.403, allocations: 131.1 kB / 1.425 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01132/1.414, allocations: 5.55 MB / 1.431 GB, free: 8.719 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001505/1.416, allocations: 0.885 MB / 1.432 GB, free: 8.133 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002829/1.419, allocations: 1.682 MB / 1.433 GB, free: 7.078 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01213/1.431, allocations: 6.803 MB / 1.44 GB, free: 1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.431, allocations: 0 / 1.44 GB, free: 1 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.164e-06/1.431, allocations: 0 / 1.44 GB, free: 1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.465e-05/1.431, allocations: 0 / 1.44 GB, free: 1 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.006254/1.437, allocations: 3.268 MB / 1.443 GB, free: 13.66 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.437, allocations: 12.03 kB / 1.443 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004927/1.442, allocations: 0.8194 MB / 1.444 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004544/1.447, allocations: 2.513 MB / 1.446 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/1.447, allocations: 164.2 kB / 1.447 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003528/1.447, allocations: 216 kB / 1.447 GB, free: 9.859 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004469/1.452, allocations: 2.558 MB / 1.449 GB, free: 7.184 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-05/1.452, allocations: 3.906 kB / 1.449 GB, free: 7.18 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002296/1.452, allocations: 95.88 kB / 1.449 GB, free: 7.086 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.867e-05/1.452, allocations: 88.11 kB / 1.449 GB, free: 6.996 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003531/1.456, allocations: 2.034 MB / 1.451 GB, free: 4.945 MB / 1.045 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.0148/1.471, allocations: 12.37 MB / 1.464 GB, free: 7.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/1.473, allocations: 1.502 MB / 1.465 GB, free: 6.031 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/1.474, allocations: 0.7707 MB / 1.466 GB, free: 5.262 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001872/1.476, allocations: 1.998 MB / 1.468 GB, free: 2.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.01e-05/1.476, allocations: 51.88 kB / 1.468 GB, free: 2.781 MB / 1.061 GB Notification: Performance of pre-optimization done (n=150): time 3.707e-06/1.476, allocations: 0 / 1.468 GB, free: 2.781 MB / 1.061 GB Notification: Performance of matching and sorting (n=152): time 0.01135/1.487, allocations: 5.035 MB / 1.473 GB, free: 13.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/1.488, allocations: 76.64 kB / 1.473 GB, free: 13.51 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003066/1.491, allocations: 2.093 MB / 1.475 GB, free: 11.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/1.491, allocations: 61.7 kB / 1.475 GB, free: 11.33 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/1.492, allocations: 1.251 MB / 1.476 GB, free: 10.07 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005288/1.492, allocations: 0.5275 MB / 1.477 GB, free: 9.535 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/1.493, allocations: 141.6 kB / 1.477 GB, free: 9.391 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.178e-05/1.493, allocations: 305.1 kB / 1.477 GB, free: 9.09 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/1.494, allocations: 0.6091 MB / 1.478 GB, free: 8.48 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/1.495, allocations: 0.9741 MB / 1.479 GB, free: 7.367 MB / 1.076 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: duc.vol_b.dynBal.medium.p = duc.vol_b.dynBal.p_start (sin1.p = duc.vol_b.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01948/1.515, allocations: 5.508 MB / 1.484 GB, free: 1.707 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/1.515, allocations: 4 kB / 1.484 GB, free: 1.703 MB / 1.076 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004347/1.519, allocations: 2.124 MB / 1.486 GB, free: 15.56 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002571/1.519, allocations: 390 kB / 1.486 GB, free: 15.04 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.931e-05/1.519, allocations: 19.98 kB / 1.486 GB, free: 15.02 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/1.52, allocations: 217.5 kB / 1.487 GB, free: 14.8 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.522, allocations: 359.4 kB / 1.487 GB, free: 14.45 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/1.523, allocations: 1.78 MB / 1.489 GB, free: 12.59 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/1.525, allocations: 203.7 kB / 1.489 GB, free: 12.39 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/1.525, allocations: 79.97 kB / 1.489 GB, free: 12.32 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 9.188e-06/1.525, allocations: 4 kB / 1.489 GB, free: 12.31 MB / 1.092 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00375/1.529, allocations: 1.871 MB / 1.491 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.699e-05/1.529, allocations: 23.92 kB / 1.491 GB, free: 10.41 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009377/1.53, allocations: 206 kB / 1.491 GB, free: 10.2 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/1.531, allocations: 347.5 kB / 1.491 GB, free: 9.863 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000901/1.532, allocations: 1.187 MB / 1.492 GB, free: 8.625 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/1.535, allocations: 203.6 kB / 1.493 GB, free: 8.426 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/1.535, allocations: 79.98 kB / 1.493 GB, free: 8.348 MB / 1.092 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: duc.vol_b.dynBal.medium.p = duc.vol_b.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (196): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001403/1.536, allocations: 0.7075 MB / 1.493 GB, free: 7.629 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000565/1.537, allocations: 268.8 kB / 1.494 GB, free: 7.363 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004979/1.542, allocations: 2.377 MB / 1.496 GB, free: 4.992 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.359e-05/1.542, allocations: 23.98 kB / 1.496 GB, free: 4.969 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/1.542, allocations: 192 / 1.496 GB, free: 4.969 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003597/1.546, allocations: 2.112 MB / 1.498 GB, free: 2.762 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/1.556, allocations: 5.38 MB / 1.503 GB, free: 13.2 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.025e-05/1.556, allocations: 12 kB / 1.503 GB, free: 13.19 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/1.557, allocations: 292.1 kB / 1.504 GB, free: 12.91 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/1.558, allocations: 255.1 kB / 1.504 GB, free: 12.64 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/1.558, allocations: 51.98 kB / 1.504 GB, free: 12.59 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003751/1.562, allocations: 4.657 MB / 1.508 GB, free: 7.594 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/1.562, allocations: 7.938 kB / 1.508 GB, free: 7.586 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006088/1.568, allocations: 3.278 MB / 1.512 GB, free: 4.211 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/1.57, allocations: 0.5716 MB / 1.512 GB, free: 3.617 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006216/1.57, allocations: 43.98 kB / 1.512 GB, free: 3.574 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002277/1.573, allocations: 185.7 kB / 1.512 GB, free: 3.395 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003088/1.573, allocations: 149 kB / 1.513 GB, free: 3.246 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001926/1.573, allocations: 79.95 kB / 1.513 GB, free: 3.168 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002911/1.576, allocations: 1.478 MB / 1.514 GB, free: 1.684 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.01e-07/1.576, allocations: 3.938 kB / 1.514 GB, free: 1.68 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.004513/1.581, allocations: 1.344 MB / 1.515 GB, free: 344 kB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 13 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,duc.del.x,duc.timDel.x,duc.vol_b.dynBal.medium.Xi[1],duc.vol_b.dynBal.U,duc.vol_b.dynBal.mC[1],duc.vol_a.dynBal.medium.Xi[1],duc.vol_a.dynBal.U,duc.vol_a.dynBal.m,duc.vol_a.dynBal.mC[1]) * 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 (156): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001642/1.582, allocations: 0.7187 MB / 1.516 GB, free: 15.62 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005819/1.588, allocations: 2.89 MB / 1.519 GB, free: 12.67 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/1.588, allocations: 8.188 kB / 1.519 GB, free: 12.66 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002581/1.591, allocations: 1.457 MB / 1.52 GB, free: 11.14 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01005/1.601, allocations: 1.507 MB / 1.522 GB, free: 9.656 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/1.614, allocations: 7.056 MB / 1.529 GB, free: 2.5 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001674/1.615, allocations: 1.904 MB / 1.531 GB, free: 0.5625 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.003572/1.619, allocations: 0.7621 MB / 1.531 GB, free: 15.82 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005834/1.62, allocations: 219.3 kB / 1.532 GB, free: 15.61 MB / 1.139 GB Notification: Performance of SimCode: time 1.413e-06/1.62, allocations: 0 / 1.532 GB, free: 15.61 MB / 1.139 GB Notification: Performance of Templates: time 0.1051/1.725, allocations: 58.97 MB / 1.589 GB, free: 5.324 MB / 1.186 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe 2>&1)