Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.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.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009281/0.0009284, 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.008001/0.008001, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.437/1.437, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005344/0.0005345, allocations: 11 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3815, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.99/1.372, allocations: 278 MB / 1.346 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03557/1.407, allocations: 23.13 MB / 1.368 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006981/1.414, allocations: 99.88 kB / 1.368 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01149/1.426, allocations: 4.673 MB / 1.373 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01776/1.444, allocations: 4.898 MB / 1.378 GB, free: 88 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007945/1.452, allocations: 2.458 MB / 1.38 GB, free: 15.05 MB / 1.014 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.2333333333333334}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.0223/1.474, allocations: 12.66 MB / 1.392 GB, free: 10.82 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007249/1.481, allocations: 2.208 MB / 1.395 GB, free: 9.504 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01179/1.493, allocations: 2.831 MB / 1.397 GB, free: 8.086 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006731/1.5, allocations: 2.194 MB / 1.4 GB, free: 7.035 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000837/1.501, allocations: 110.1 kB / 1.4 GB, free: 7.035 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01305/1.514, allocations: 4.621 MB / 1.404 GB, free: 4.832 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001813/1.516, allocations: 0.9136 MB / 1.405 GB, free: 4.27 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003567/1.519, allocations: 1.606 MB / 1.407 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01273/1.532, allocations: 6.302 MB / 1.413 GB, free: 15.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.532, allocations: 0 / 1.413 GB, free: 15.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 5.45e-06/1.532, allocations: 0 / 1.413 GB, free: 15.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001717/1.532, allocations: 3.938 kB / 1.413 GB, free: 15.43 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: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.009576/1.542, allocations: 3.334 MB / 1.416 GB, free: 13.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/1.542, allocations: 14.22 kB / 1.416 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005417/1.547, allocations: 0.8598 MB / 1.417 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005924/1.553, allocations: 3.16 MB / 1.42 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/1.553, allocations: 148.6 kB / 1.42 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003624/1.554, allocations: 190.5 kB / 1.42 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004515/1.558, allocations: 2.26 MB / 1.422 GB, free: 8.078 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.412e-05/1.558, allocations: 0 / 1.422 GB, free: 8.078 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/1.559, allocations: 78.98 kB / 1.423 GB, free: 8.004 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.569e-05/1.559, allocations: 83.55 kB / 1.423 GB, free: 7.922 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003737/1.562, allocations: 1.966 MB / 1.425 GB, free: 5.953 MB / 1.029 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.01509/1.578, allocations: 9.618 MB / 1.434 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/1.58, allocations: 1.083 MB / 1.435 GB, free: 10.73 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009934/1.581, allocations: 0.5975 MB / 1.436 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008868/1.581, allocations: 0.7087 MB / 1.436 GB, free: 9.289 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/1.582, allocations: 47.56 kB / 1.436 GB, free: 9.234 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001509/1.583, allocations: 168.5 kB / 1.436 GB, free: 9.07 MB / 1.045 GB Notification: Performance of pre-optimization done (n=101): time 5.02e-06/1.583, allocations: 0 / 1.436 GB, free: 9.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=103): time 0.01377/1.597, allocations: 4.208 MB / 1.441 GB, free: 4.785 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/1.597, allocations: 68.34 kB / 1.441 GB, free: 4.703 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005441/1.602, allocations: 2.642 MB / 1.443 GB, free: 2.051 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002297/1.603, allocations: 49.7 kB / 1.443 GB, free: 1.996 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001238/1.604, allocations: 1.294 MB / 1.445 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004636/1.604, allocations: 373.4 kB / 1.445 GB, free: 348 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/1.605, allocations: 189.6 kB / 1.445 GB, free: 152 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.605, allocations: 301.1 kB / 1.445 GB, free: 15.85 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/1.606, allocations: 0.6832 MB / 1.446 GB, free: 15.17 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/1.608, allocations: 1.253 MB / 1.447 GB, free: 13.68 MB / 1.061 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/1.62, allocations: 3.869 MB / 1.451 GB, free: 9.582 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.707e-05/1.62, allocations: 7.938 kB / 1.451 GB, free: 9.574 MB / 1.061 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.005084/1.625, allocations: 2.348 MB / 1.453 GB, free: 7.215 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004423/1.626, allocations: 0.5441 MB / 1.454 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/1.626, allocations: 16 kB / 1.454 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/1.627, allocations: 327.4 kB / 1.454 GB, free: 6.121 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/1.629, allocations: 363.4 kB / 1.455 GB, free: 5.766 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/1.63, allocations: 0.9548 MB / 1.455 GB, free: 4.785 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003177/1.633, allocations: 196.3 kB / 1.456 GB, free: 4.598 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/1.633, allocations: 83.97 kB / 1.456 GB, free: 4.516 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/1.633, allocations: 4 kB / 1.456 GB, free: 4.512 MB / 1.061 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003774/1.637, allocations: 2.088 MB / 1.458 GB, free: 2.422 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.889e-05/1.637, allocations: 12 kB / 1.458 GB, free: 2.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/1.639, allocations: 326.2 kB / 1.458 GB, free: 2.094 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/1.64, allocations: 363.5 kB / 1.458 GB, free: 1.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/1.641, allocations: 0.9542 MB / 1.459 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/1.644, allocations: 185.5 kB / 1.46 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002417/1.644, allocations: 79.98 kB / 1.46 GB, free: 0.5 MB / 1.061 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (194): * Single equations (assignments): 190 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.001927/1.646, allocations: 0.7715 MB / 1.46 GB, free: 15.72 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008078/1.647, allocations: 272.5 kB / 1.461 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/1.65, allocations: 1.486 MB / 1.462 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.713e-05/1.651, allocations: 15.94 kB / 1.462 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/1.651, allocations: 4 kB / 1.462 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00199/1.653, allocations: 1.062 MB / 1.463 GB, free: 12.85 MB / 1.076 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 postOpt removeSimpleEquations (simulation): time 0.0117/1.664, allocations: 4.268 MB / 1.467 GB, free: 8.391 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/1.664, allocations: 8 kB / 1.467 GB, free: 8.383 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008827/1.665, allocations: 187.8 kB / 1.468 GB, free: 8.199 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001471/1.667, allocations: 298.3 kB / 1.468 GB, free: 7.906 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/1.667, allocations: 24 kB / 1.468 GB, free: 7.883 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/1.668, allocations: 0.9126 MB / 1.469 GB, free: 6.949 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/1.668, allocations: 16 kB / 1.469 GB, free: 6.934 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004167/1.672, allocations: 2.169 MB / 1.471 GB, free: 4.656 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002254/1.674, allocations: 0.4896 MB / 1.471 GB, free: 4.145 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009697/1.675, allocations: 24 kB / 1.471 GB, free: 4.121 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/1.678, allocations: 129 kB / 1.471 GB, free: 3.996 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/1.678, allocations: 80.39 kB / 1.472 GB, free: 3.918 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/1.678, allocations: 51.91 kB / 1.472 GB, free: 3.867 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003965/1.682, allocations: 1.768 MB / 1.473 GB, free: 2.102 MB / 1.076 GB Notification: Performance of sort global known variables: time 4.61e-07/1.682, allocations: 0 / 1.473 GB, free: 2.102 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00586/1.688, allocations: 1.25 MB / 1.475 GB, free: 0.8516 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U) * 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 (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001785/1.69, allocations: 0.6311 MB / 1.475 GB, free: 256 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005724/1.696, allocations: 2.627 MB / 1.478 GB, free: 13.63 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/1.696, allocations: 8.125 kB / 1.478 GB, free: 13.62 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/1.697, allocations: 0.5662 MB / 1.478 GB, free: 13.06 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01223/1.709, allocations: 1.462 MB / 1.48 GB, free: 11.61 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/1.721, allocations: 5.768 MB / 1.485 GB, free: 5.73 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002654/1.723, allocations: 1.856 MB / 1.487 GB, free: 3.84 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.004065/1.728, allocations: 0.6843 MB / 1.488 GB, free: 3.156 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009097/1.729, allocations: 191.4 kB / 1.488 GB, free: 2.969 MB / 1.092 GB Notification: Performance of SimCode: time 1.092e-06/1.729, allocations: 0 / 1.488 GB, free: 2.969 MB / 1.092 GB Notification: Performance of Templates: time 0.1034/1.832, allocations: 56.1 MB / 1.543 GB, free: 11.54 MB / 1.154 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)