Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.9/1.9, allocations: 292.6 MB / 307.5 MB, free: 5.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001395/0.001395, allocations: 185.2 kB / 377.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 0.6367 GB, free: 8.633 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00093/0.0009299, allocations: 88.95 kB / 0.751 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000508/0.000508, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.286, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.819/6.105, allocations: 2.343 GB / 3.331 GB, free: 241.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004463/6.106, allocations: 103 kB / 3.331 GB, free: 241.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.298/10.4, allocations: 1.114 GB / 4.446 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.763e-06/10.4, allocations: 2.875 kB / 4.446 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001779/10.4, allocations: 57.61 kB / 4.446 GB, free: 106.5 MB / 0.9636 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.006847/10.41, allocations: 2.409 MB / 4.448 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/10.41, allocations: 16.06 kB / 4.448 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/10.41, allocations: 367.8 kB / 4.449 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004072/10.42, allocations: 1.648 MB / 4.45 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.63e-05/10.42, allocations: 110.5 kB / 4.45 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/10.42, allocations: 141.2 kB / 4.45 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/10.42, allocations: 1.472 MB / 4.452 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/10.42, allocations: 1.406 kB / 4.452 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/10.42, allocations: 61.5 kB / 4.452 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-05/10.42, allocations: 49.89 kB / 4.452 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/10.42, allocations: 1.124 MB / 4.453 GB, free: 104.7 MB / 0.9636 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.01118/10.43, allocations: 7.163 MB / 4.46 GB, free: 100.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/10.44, allocations: 0.8746 MB / 4.461 GB, free: 100.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007486/10.44, allocations: 0.7163 MB / 4.462 GB, free: 99.96 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/10.44, allocations: 42.75 kB / 4.462 GB, free: 99.92 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=75): time 4.007e-06/10.44, allocations: 2.188 kB / 4.462 GB, free: 99.92 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75): time 0.006734/10.44, allocations: 2.211 MB / 4.464 GB, free: 99.47 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/10.44, allocations: 61.28 kB / 4.464 GB, free: 99.41 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/10.45, allocations: 1.141 MB / 4.465 GB, free: 99.25 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/10.45, allocations: 41.7 kB / 4.465 GB, free: 99.22 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005545/10.45, allocations: 0.7971 MB / 4.466 GB, free: 98.92 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/10.45, allocations: 269 kB / 4.466 GB, free: 98.75 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/10.45, allocations: 13.62 kB / 4.466 GB, free: 98.75 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.489e-05/10.45, allocations: 332.4 kB / 4.466 GB, free: 98.45 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005166/10.45, allocations: 321.4 kB / 4.467 GB, free: 98.45 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007497/10.45, allocations: 0.6017 MB / 4.467 GB, free: 98.12 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/10.45, allocations: 407.1 kB / 4.468 GB, free: 98.11 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/10.45, allocations: 2.406 kB / 4.468 GB, free: 98.11 MB / 0.9636 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002193/10.45, allocations: 1.204 MB / 4.469 GB, free: 97.94 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004046/10.45, allocations: 1.802 MB / 4.471 GB, free: 96.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/10.45, allocations: 7.594 kB / 4.471 GB, free: 96.04 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/10.45, allocations: 389.9 kB / 4.471 GB, free: 96 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005825/10.45, allocations: 144.4 kB / 4.471 GB, free: 96 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/10.45, allocations: 2.09 MB / 4.473 GB, free: 94.42 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/10.46, allocations: 170.3 kB / 4.473 GB, free: 94.38 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-05/10.46, allocations: 41.2 kB / 4.473 GB, free: 94.38 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/10.46, allocations: 3.844 kB / 4.473 GB, free: 94.38 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001814/10.46, allocations: 1.022 MB / 4.474 GB, free: 94.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/10.46, allocations: 3.938 kB / 4.474 GB, free: 94.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/10.46, allocations: 381.5 kB / 4.475 GB, free: 94.28 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/10.46, allocations: 145.2 kB / 4.475 GB, free: 94.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002973/10.46, allocations: 3.895 MB / 4.479 GB, free: 91.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/10.47, allocations: 169.1 kB / 4.479 GB, free: 91.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/10.47, allocations: 36.47 kB / 4.479 GB, free: 91.02 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 22,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001154/10.47, allocations: 471.5 kB / 4.479 GB, free: 90.81 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004937/10.47, allocations: 156.8 kB / 4.479 GB, free: 90.73 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/10.47, allocations: 1.182 MB / 4.481 GB, free: 90.59 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/10.47, allocations: 12.78 kB / 4.481 GB, free: 90.59 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/10.47, allocations: 0 / 4.481 GB, free: 90.59 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001568/10.47, allocations: 1.256 MB / 4.482 GB, free: 90.09 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005942/10.48, allocations: 2.739 MB / 4.484 GB, free: 89.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/10.48, allocations: 3.906 kB / 4.485 GB, free: 89.61 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004749/10.48, allocations: 104.4 kB / 4.485 GB, free: 89.61 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001524/10.48, allocations: 386.6 kB / 4.485 GB, free: 89.57 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.207e-05/10.48, allocations: 16.53 kB / 4.485 GB, free: 89.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/10.48, allocations: 2.072 MB / 4.487 GB, free: 88 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/10.48, allocations: 3.938 kB / 4.487 GB, free: 88 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/10.48, allocations: 1.398 MB / 4.488 GB, free: 87.46 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/10.48, allocations: 341.5 kB / 4.489 GB, free: 87.28 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004727/10.48, allocations: 22.75 kB / 4.489 GB, free: 87.28 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/10.49, allocations: 121.7 kB / 4.489 GB, free: 87.27 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/10.49, allocations: 51 kB / 4.489 GB, free: 87.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.23e-05/10.49, allocations: 32.33 kB / 4.489 GB, free: 87.27 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001772/10.49, allocations: 0.8839 MB / 4.49 GB, free: 87.16 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.3e-07/10.49, allocations: 0 / 4.49 GB, free: 87.16 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004686/10.49, allocations: 1.103 MB / 4.491 GB, free: 87.02 MB / 0.9636 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 (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 22,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004249/10.5, allocations: 2.316 MB / 4.493 GB, free: 86.23 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00369/10.5, allocations: 1.617 MB / 4.495 GB, free: 85.95 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/10.5, allocations: 1.844 kB / 4.495 GB, free: 85.95 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/10.5, allocations: 495.9 kB / 4.495 GB, free: 85.93 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004525/10.51, allocations: 0.7985 MB / 4.496 GB, free: 85.91 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006276/10.51, allocations: 3.256 MB / 4.499 GB, free: 84.27 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/10.51, allocations: 1.38 MB / 4.5 GB, free: 83.53 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00191/10.52, allocations: 328.4 kB / 4.501 GB, free: 83.47 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/10.52, allocations: 94.3 kB / 4.501 GB, free: 83.46 MB / 0.9636 GB Notification: Performance of SimCode: time 9.72e-07/10.52, allocations: 1.75 kB / 4.501 GB, free: 83.46 MB / 0.9636 GB Notification: Performance of Templates: time 0.0836/10.6, allocations: 54.51 MB / 4.554 GB, free: 76.62 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)