Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008492/0.0008492, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006076/0.006076, allocations: 173.1 kB / 16.27 MB, free: 6.652 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.372/1.372, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.832/2.832, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.000357, allocations: 14.66 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3271, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 1.013/1.34, allocations: 278 MB / 1.346 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03196/1.372, allocations: 23.13 MB / 1.368 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006535/1.378, allocations: 98.31 kB / 1.368 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01067/1.389, allocations: 4.662 MB / 1.373 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01593/1.405, allocations: 4.904 MB / 1.378 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007725/1.413, allocations: 2.451 MB / 1.38 GB, free: 14.94 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.01905/1.432, allocations: 12.65 MB / 1.392 GB, free: 10.74 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00513/1.437, allocations: 2.222 MB / 1.395 GB, free: 9.398 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00898/1.446, allocations: 2.824 MB / 1.397 GB, free: 7.992 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005964/1.452, allocations: 2.196 MB / 1.4 GB, free: 6.941 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007194/1.453, allocations: 107.4 kB / 1.4 GB, free: 6.941 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01219/1.465, allocations: 4.629 MB / 1.404 GB, free: 4.73 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001931/1.467, allocations: 0.9153 MB / 1.405 GB, free: 4.164 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003708/1.471, allocations: 1.602 MB / 1.407 GB, free: 3.156 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/1.483, allocations: 6.306 MB / 1.413 GB, free: 15.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/1.483, allocations: 0 / 1.413 GB, free: 15.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.034e-06/1.483, allocations: 0 / 1.413 GB, free: 15.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001405/1.483, allocations: 3.375 kB / 1.413 GB, free: 15.33 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.008886/1.492, allocations: 3.333 MB / 1.416 GB, free: 12.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/1.492, allocations: 13.62 kB / 1.416 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00535/1.498, allocations: 0.8651 MB / 1.417 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005335/1.503, allocations: 3.167 MB / 1.42 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/1.503, allocations: 153.5 kB / 1.42 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003373/1.504, allocations: 188.2 kB / 1.42 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004233/1.508, allocations: 2.258 MB / 1.422 GB, free: 7.879 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/1.508, allocations: 0 / 1.422 GB, free: 7.879 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000198/1.508, allocations: 81.72 kB / 1.423 GB, free: 7.801 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.848e-05/1.508, allocations: 71.55 kB / 1.423 GB, free: 7.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003646/1.512, allocations: 1.966 MB / 1.425 GB, free: 5.762 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.01446/1.526, allocations: 9.619 MB / 1.434 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/1.528, allocations: 1.089 MB / 1.435 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009851/1.529, allocations: 0.5974 MB / 1.436 GB, free: 9.949 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008716/1.53, allocations: 0.7157 MB / 1.436 GB, free: 9.09 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/1.53, allocations: 47.56 kB / 1.436 GB, free: 9.035 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001637/1.532, allocations: 160.5 kB / 1.436 GB, free: 8.879 MB / 1.045 GB Notification: Performance of pre-optimization done (n=101): time 5.591e-06/1.532, allocations: 0 / 1.436 GB, free: 8.879 MB / 1.045 GB Notification: Performance of matching and sorting (n=103): time 0.01315/1.545, allocations: 4.2 MB / 1.441 GB, free: 4.602 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/1.545, allocations: 60.41 kB / 1.441 GB, free: 4.527 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/1.549, allocations: 2.658 MB / 1.443 GB, free: 1.859 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001796/1.549, allocations: 52.12 kB / 1.443 GB, free: 1.805 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/1.551, allocations: 1.288 MB / 1.445 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003942/1.551, allocations: 377.1 kB / 1.445 GB, free: 152 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/1.551, allocations: 185.6 kB / 1.445 GB, free: 15.96 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.551, allocations: 305.1 kB / 1.445 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/1.553, allocations: 0.6832 MB / 1.446 GB, free: 14.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/1.554, allocations: 1.255 MB / 1.447 GB, free: 13.48 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.01215/1.566, allocations: 3.86 MB / 1.451 GB, free: 9.398 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/1.567, allocations: 7.938 kB / 1.451 GB, free: 9.391 MB / 1.061 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004661/1.571, allocations: 2.352 MB / 1.453 GB, free: 7.027 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005329/1.572, allocations: 0.5382 MB / 1.454 GB, free: 6.273 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/1.572, allocations: 16 kB / 1.454 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/1.573, allocations: 331.4 kB / 1.454 GB, free: 5.934 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/1.575, allocations: 351.5 kB / 1.455 GB, free: 5.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/1.576, allocations: 0.958 MB / 1.455 GB, free: 4.605 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/1.579, allocations: 201.4 kB / 1.456 GB, free: 4.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/1.579, allocations: 79.98 kB / 1.456 GB, free: 4.332 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/1.579, allocations: 4 kB / 1.456 GB, free: 4.328 MB / 1.061 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003487/1.582, allocations: 2.095 MB / 1.458 GB, free: 2.238 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.278e-05/1.582, allocations: 20.09 kB / 1.458 GB, free: 2.219 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/1.584, allocations: 320.6 kB / 1.458 GB, free: 1.902 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/1.585, allocations: 359.4 kB / 1.458 GB, free: 1.551 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/1.586, allocations: 0.9562 MB / 1.459 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/1.589, allocations: 181.5 kB / 1.46 GB, free: 404 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/1.589, allocations: 79.98 kB / 1.46 GB, free: 324 kB / 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.001682/1.59, allocations: 0.7747 MB / 1.46 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005836/1.591, allocations: 272.5 kB / 1.461 GB, free: 15.26 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/1.594, allocations: 1.487 MB / 1.462 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.588e-05/1.594, allocations: 15.98 kB / 1.462 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/1.594, allocations: 0 / 1.462 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001895/1.596, allocations: 1.062 MB / 1.463 GB, free: 12.66 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.008908/1.605, allocations: 4.268 MB / 1.467 GB, free: 8.203 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/1.605, allocations: 8 kB / 1.467 GB, free: 8.195 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008715/1.606, allocations: 183.7 kB / 1.468 GB, free: 8.016 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/1.607, allocations: 294.3 kB / 1.468 GB, free: 7.727 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.856e-05/1.607, allocations: 27.98 kB / 1.468 GB, free: 7.699 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/1.608, allocations: 0.9219 MB / 1.469 GB, free: 6.754 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/1.608, allocations: 11.94 kB / 1.469 GB, free: 6.742 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/1.612, allocations: 2.17 MB / 1.471 GB, free: 4.465 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/1.614, allocations: 497.4 kB / 1.471 GB, free: 3.957 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004089/1.614, allocations: 27.98 kB / 1.471 GB, free: 3.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/1.616, allocations: 121.1 kB / 1.471 GB, free: 3.812 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/1.616, allocations: 88.31 kB / 1.472 GB, free: 3.727 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.565e-05/1.616, allocations: 47.98 kB / 1.472 GB, free: 3.68 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002945/1.619, allocations: 1.764 MB / 1.473 GB, free: 1.918 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.619, allocations: 0 / 1.473 GB, free: 1.918 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004184/1.623, allocations: 1.254 MB / 1.475 GB, free: 0.6641 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.001501/1.625, allocations: 0.6296 MB / 1.475 GB, free: 68 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00508/1.63, allocations: 2.624 MB / 1.478 GB, free: 13.44 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/1.63, allocations: 4 kB / 1.478 GB, free: 13.44 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/1.631, allocations: 0.5625 MB / 1.478 GB, free: 12.88 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01026/1.641, allocations: 1.492 MB / 1.48 GB, free: 11.41 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009501/1.651, allocations: 5.739 MB / 1.485 GB, free: 5.555 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/1.652, allocations: 1.864 MB / 1.487 GB, free: 3.656 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.003163/1.656, allocations: 0.6814 MB / 1.488 GB, free: 2.973 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005715/1.656, allocations: 191.4 kB / 1.488 GB, free: 2.785 MB / 1.092 GB Notification: Performance of SimCode: time 9.21e-07/1.656, allocations: 4 kB / 1.488 GB, free: 2.781 MB / 1.092 GB Notification: Performance of Templates: time 0.1033/1.76, allocations: 56.1 MB / 1.543 GB, free: 11.34 MB / 1.154 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)