Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001885/0.001885, allocations: 193.2 kB / 16.14 MB, free: 6.656 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.79/2.79, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001467, allocations: 64.42 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3639, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 1.053/1.417, allocations: 251.5 MB / 1.313 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02937/1.447, allocations: 18.16 MB / 1.331 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005234/1.452, allocations: 73.25 kB / 1.331 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00448/1.457, allocations: 0.914 MB / 1.332 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01454/1.471, allocations: 3.59 MB / 1.335 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006536/1.478, allocations: 1.622 MB / 1.337 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01134/1.489, allocations: 6.803 MB / 1.344 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004332/1.493, allocations: 1.555 MB / 1.345 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007315/1.501, allocations: 1.893 MB / 1.347 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005436/1.506, allocations: 1.563 MB / 1.348 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001054/1.507, allocations: 93.62 kB / 1.349 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008082/1.515, allocations: 2.739 MB / 1.351 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001475/1.517, allocations: 0.5104 MB / 1.352 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003471/1.52, allocations: 1.017 MB / 1.353 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01074/1.531, allocations: 3.701 MB / 1.356 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.531, allocations: 0 / 1.356 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.504e-06/1.531, allocations: 0 / 1.356 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001564/1.531, allocations: 0 / 1.356 GB, free: 1.266 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.007671/1.539, allocations: 2.483 MB / 1.359 GB, free: 15.74 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/1.539, allocations: 10.91 kB / 1.359 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002757/1.542, allocations: 369.7 kB / 1.359 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003934/1.546, allocations: 1.426 MB / 1.36 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/1.546, allocations: 109.9 kB / 1.361 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000344/1.546, allocations: 136.9 kB / 1.361 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003711/1.55, allocations: 1.507 MB / 1.362 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/1.55, allocations: 0 / 1.362 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/1.55, allocations: 64.36 kB / 1.362 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.628e-05/1.55, allocations: 59.31 kB / 1.362 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/1.553, allocations: 1.138 MB / 1.363 GB, free: 13.61 MB / 1.014 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.01114/1.564, allocations: 7.18 MB / 1.37 GB, free: 8.086 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/1.566, allocations: 0.8174 MB / 1.371 GB, free: 7.617 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007754/1.566, allocations: 446.3 kB / 1.372 GB, free: 7.402 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009687/1.567, allocations: 0.7136 MB / 1.372 GB, free: 6.609 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/1.568, allocations: 46.22 kB / 1.372 GB, free: 6.562 MB / 1.014 GB Notification: Performance of pre-optimization done (n=74): time 2.735e-06/1.568, allocations: 0 / 1.372 GB, free: 6.562 MB / 1.014 GB Notification: Performance of matching and sorting (n=74): time 0.006994/1.575, allocations: 2.078 MB / 1.374 GB, free: 5.359 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/1.575, allocations: 60.09 kB / 1.374 GB, free: 5.297 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002512/1.577, allocations: 1.319 MB / 1.376 GB, free: 4.578 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/1.577, allocations: 39.05 kB / 1.376 GB, free: 4.539 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008288/1.578, allocations: 0.8005 MB / 1.377 GB, free: 3.832 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/1.578, allocations: 265.1 kB / 1.377 GB, free: 3.609 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003245/1.579, allocations: 168.9 kB / 1.377 GB, free: 3.512 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001635/1.579, allocations: 342.5 kB / 1.377 GB, free: 3.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006797/1.58, allocations: 331.1 kB / 1.378 GB, free: 3.016 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/1.581, allocations: 0.563 MB / 1.378 GB, free: 2.574 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/1.582, allocations: 0.8741 MB / 1.379 GB, free: 2.023 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/1.582, allocations: 0 / 1.379 GB, free: 2.023 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003005/1.585, allocations: 1.265 MB / 1.38 GB, free: 1.398 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/1.585, allocations: 9.094 kB / 1.38 GB, free: 1.398 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.585, allocations: 7.391 kB / 1.38 GB, free: 1.395 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/1.587, allocations: 403.6 kB / 1.381 GB, free: 1.211 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/1.588, allocations: 149 kB / 1.381 GB, free: 1.188 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/1.59, allocations: 2.061 MB / 1.383 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/1.592, allocations: 186.5 kB / 1.383 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-05/1.592, allocations: 32.69 kB / 1.383 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001269/1.593, allocations: 0.6447 MB / 1.384 GB, free: 14.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008888/1.594, allocations: 0.5556 MB / 1.384 GB, free: 14.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001471/1.596, allocations: 0.8607 MB / 1.385 GB, free: 13.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.634e-06/1.596, allocations: 2.562 kB / 1.385 GB, free: 13.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002789/1.599, allocations: 1.208 MB / 1.386 GB, free: 13.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/1.599, allocations: 10.83 kB / 1.386 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.599, allocations: 9.281 kB / 1.386 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/1.6, allocations: 354.4 kB / 1.387 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006659/1.601, allocations: 152 kB / 1.387 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003869/1.605, allocations: 3.857 MB / 1.391 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/1.607, allocations: 163.4 kB / 1.391 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.284e-05/1.607, allocations: 29.72 kB / 1.391 GB, free: 9.293 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,21), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003337/1.607, allocations: 246.6 kB / 1.391 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004701/1.607, allocations: 157 kB / 1.391 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003123/1.611, allocations: 1.192 MB / 1.392 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/1.611, allocations: 7.719 kB / 1.392 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/1.611, allocations: 0 / 1.392 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002508/1.613, allocations: 1.284 MB / 1.394 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005494/1.619, allocations: 2.749 MB / 1.396 GB, free: 5.594 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/1.619, allocations: 6.562 kB / 1.396 GB, free: 5.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/1.619, allocations: 104 kB / 1.396 GB, free: 5.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001518/1.621, allocations: 351.7 kB / 1.397 GB, free: 5.406 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.436e-05/1.621, allocations: 19.78 kB / 1.397 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/1.622, allocations: 2.039 MB / 1.399 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.622, allocations: 3.844 kB / 1.399 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/1.625, allocations: 1.2 MB / 1.4 GB, free: 2.816 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009778/1.626, allocations: 328.5 kB / 1.4 GB, free: 2.547 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003886/1.626, allocations: 21.05 kB / 1.4 GB, free: 2.531 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/1.627, allocations: 110.5 kB / 1.4 GB, free: 2.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/1.628, allocations: 51.28 kB / 1.4 GB, free: 2.453 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.048e-05/1.628, allocations: 36.48 kB / 1.4 GB, free: 2.438 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001506/1.629, allocations: 0.8894 MB / 1.401 GB, free: 1.953 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.629, allocations: 2.531 kB / 1.401 GB, free: 1.953 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003467/1.633, allocations: 0.9025 MB / 1.402 GB, free: 1.766 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,20), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001028/1.634, allocations: 376.6 kB / 1.402 GB, free: 1.562 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003652/1.637, allocations: 1.646 MB / 1.404 GB, free: 464 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.637, allocations: 0 / 1.404 GB, free: 464 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/1.639, allocations: 467.7 kB / 1.405 GB, free: 12 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00436/1.643, allocations: 0.7886 MB / 1.405 GB, free: 15.22 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005426/1.648, allocations: 3.334 MB / 1.409 GB, free: 11.84 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/1.65, allocations: 1.344 MB / 1.41 GB, free: 10.47 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001652/1.651, allocations: 327.3 kB / 1.41 GB, free: 10.15 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/1.652, allocations: 87.44 kB / 1.41 GB, free: 10.06 MB / 1.045 GB Notification: Performance of SimCode: time 1.373e-06/1.652, allocations: 0 / 1.41 GB, free: 10.06 MB / 1.045 GB Notification: Performance of Templates: time 0.05309/1.705, allocations: 31.17 MB / 1.441 GB, free: 11.35 MB / 1.076 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)