Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.port_a1.m_flow|hex.port_a2.m_flow|netEne.y|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.port_a1.m_flow|hex.port_a2.m_flow|netEne.y|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_latest_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.001244/0.001244, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001515/0.001516, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.718/2.718, allocations: 469.4 MB / 0.7428 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 75.89 kB / 1.066 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9592/0.9608, allocations: 159.1 MB / 1.221 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.3063/1.267, allocations: 254 MB / 1.469 GB, free: 3.461 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02842/1.296, allocations: 18.07 MB / 1.487 GB, free: 1.344 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003967/1.3, allocations: 83.5 kB / 1.487 GB, free: 1.262 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.004042/1.304, allocations: 1.122 MB / 1.488 GB, free: 136 kB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0121/1.316, allocations: 4.002 MB / 1.492 GB, free: 12.11 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005653/1.322, allocations: 1.81 MB / 1.493 GB, free: 10.32 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.008153/1.33, allocations: 5.086 MB / 1.498 GB, free: 5.211 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003504/1.333, allocations: 1.833 MB / 1.5 GB, free: 3.324 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005983/1.339, allocations: 2.219 MB / 1.502 GB, free: 1.102 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/1.343, allocations: 1.528 MB / 1.504 GB, free: 15.57 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0006716/1.343, allocations: 184 kB / 1.504 GB, free: 15.39 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005838/1.349, allocations: 2.541 MB / 1.507 GB, free: 12.85 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001042/1.35, allocations: 0.5919 MB / 1.507 GB, free: 12.25 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.002411/1.353, allocations: 1.116 MB / 1.508 GB, free: 11.13 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.007734/1.36, allocations: 3.692 MB / 1.512 GB, free: 7.43 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.36, allocations: 4 kB / 1.512 GB, free: 7.426 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.275e-06/1.36, allocations: 4 kB / 1.512 GB, free: 7.422 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001038/1.36, allocations: 0 / 1.512 GB, free: 7.422 MB / 1.232 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.006129/1.367, allocations: 2.475 MB / 1.514 GB, free: 4.891 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.367, allocations: 12.62 kB / 1.514 GB, free: 4.879 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/1.369, allocations: 385 kB / 1.515 GB, free: 4.5 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00345/1.372, allocations: 1.48 MB / 1.516 GB, free: 2.965 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/1.373, allocations: 110.7 kB / 1.516 GB, free: 2.855 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003039/1.373, allocations: 139.9 kB / 1.516 GB, free: 2.719 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00333/1.376, allocations: 1.507 MB / 1.518 GB, free: 1.145 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/1.376, allocations: 3.938 kB / 1.518 GB, free: 1.141 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/1.376, allocations: 56 kB / 1.518 GB, free: 1.086 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.907e-05/1.376, allocations: 54.64 kB / 1.518 GB, free: 1.031 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/1.379, allocations: 1.142 MB / 1.519 GB, free: 15.88 MB / 1.248 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.0103/1.389, allocations: 7.2 MB / 1.526 GB, free: 8.113 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/1.391, allocations: 0.8156 MB / 1.527 GB, free: 7.273 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000787/1.392, allocations: 443.2 kB / 1.527 GB, free: 6.836 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008757/1.393, allocations: 0.7123 MB / 1.528 GB, free: 5.977 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/1.393, allocations: 43.22 kB / 1.528 GB, free: 5.926 MB / 1.248 GB Notification: Performance of pre-optimization done (n=74): time 3.166e-06/1.393, allocations: 0 / 1.528 GB, free: 5.926 MB / 1.248 GB Notification: Performance of matching and sorting (n=74): time 0.006868/1.399, allocations: 2.075 MB / 1.53 GB, free: 3.777 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/1.4, allocations: 64.06 kB / 1.53 GB, free: 3.703 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/1.402, allocations: 1.318 MB / 1.531 GB, free: 2.375 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/1.402, allocations: 41.7 kB / 1.531 GB, free: 2.328 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006129/1.402, allocations: 0.8017 MB / 1.532 GB, free: 1.516 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/1.403, allocations: 260.2 kB / 1.532 GB, free: 1.258 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/1.403, allocations: 170.5 kB / 1.533 GB, free: 1.086 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.403, allocations: 345.9 kB / 1.533 GB, free: 0.7422 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006415/1.404, allocations: 340.7 kB / 1.533 GB, free: 416 kB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008287/1.405, allocations: 0.559 MB / 1.534 GB, free: 15.76 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/1.406, allocations: 0.8673 MB / 1.535 GB, free: 14.83 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/1.406, allocations: 0 / 1.535 GB, free: 14.83 MB / 1.264 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002755/1.409, allocations: 1.263 MB / 1.536 GB, free: 13.55 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/1.409, allocations: 11.98 kB / 1.536 GB, free: 13.54 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.409, allocations: 4 kB / 1.536 GB, free: 13.54 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002025/1.411, allocations: 418.5 kB / 1.536 GB, free: 13.12 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/1.412, allocations: 151.7 kB / 1.536 GB, free: 12.97 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/1.413, allocations: 2.053 MB / 1.538 GB, free: 10.84 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/1.414, allocations: 106.9 kB / 1.539 GB, free: 10.73 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.922e-05/1.414, allocations: 39.98 kB / 1.539 GB, free: 10.7 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001144/1.416, allocations: 0.6386 MB / 1.539 GB, free: 10.05 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007846/1.416, allocations: 0.5591 MB / 1.54 GB, free: 9.402 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001365/1.418, allocations: 0.8595 MB / 1.541 GB, free: 8.48 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.432e-06/1.418, allocations: 4 kB / 1.541 GB, free: 8.477 MB / 1.264 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002328/1.42, allocations: 1.205 MB / 1.542 GB, free: 7.25 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.42, allocations: 8 kB / 1.542 GB, free: 7.242 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/1.42, allocations: 4 kB / 1.542 GB, free: 7.238 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/1.422, allocations: 358.7 kB / 1.542 GB, free: 6.879 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/1.422, allocations: 151.8 kB / 1.542 GB, free: 6.73 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003323/1.426, allocations: 4.199 MB / 1.546 GB, free: 2.238 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/1.427, allocations: 85.64 kB / 1.546 GB, free: 2.156 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-05/1.427, allocations: 36 kB / 1.546 GB, free: 2.121 MB / 1.264 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.0002598/1.427, allocations: 244.1 kB / 1.547 GB, free: 1.875 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003499/1.428, allocations: 166 kB / 1.547 GB, free: 1.711 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002916/1.43, allocations: 1.183 MB / 1.548 GB, free: 0.5039 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00243/1.433, allocations: 1.279 MB / 1.549 GB, free: 15.13 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/1.433, allocations: 0 / 1.549 GB, free: 15.13 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006497/1.434, allocations: 327 kB / 1.55 GB, free: 14.79 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/1.434, allocations: 12 kB / 1.55 GB, free: 14.78 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000903/1.435, allocations: 43.95 kB / 1.55 GB, free: 14.73 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/1.435, allocations: 48.72 kB / 1.55 GB, free: 14.68 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002748/1.438, allocations: 1.144 MB / 1.551 GB, free: 13.52 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002238/1.44, allocations: 1.453 MB / 1.552 GB, free: 12.05 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005963/1.44, allocations: 345 kB / 1.553 GB, free: 11.72 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001295/1.442, allocations: 0.8938 MB / 1.553 GB, free: 10.83 MB / 1.279 GB Notification: Performance of Backend: time 8.72e-07/1.442, allocations: 4 kB / 1.553 GB, free: 10.82 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.005154/1.447, allocations: 2.036 MB / 1.555 GB, free: 8.77 MB / 1.279 GB Notification: Performance of SimCode: time 0.006599/1.454, allocations: 3.788 MB / 1.559 GB, free: 4.945 MB / 1.279 GB Notification: Performance of Templates: time 0.7823/2.236, allocations: 38.29 MB / 1.596 GB, free: 324.4 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)