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.621/1.621, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.001031/0.001031, allocations: 184.8 kB / 366.7 MB, free: 1.676 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.561/1.561, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0008902/0.0008902, allocations: 101 kB / 0.7401 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.957e-05/1.959e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7319/0.732, allocations: 116.3 MB / 0.9733 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.578/6.31, allocations: 2.342 GB / 3.316 GB, free: 147.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/6.31, allocations: 95.94 kB / 3.316 GB, free: 147.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.092/10.4, allocations: 1.103 GB / 4.418 GB, free: 106.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.204e-06/10.4, allocations: 0 / 4.418 GB, free: 106.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003264/10.4, allocations: 58.81 kB / 4.418 GB, free: 106.6 MB / 0.948 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.007017/10.41, allocations: 2.1 MB / 4.42 GB, free: 104.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/10.41, allocations: 8.75 kB / 4.42 GB, free: 104.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/10.41, allocations: 369.5 kB / 4.421 GB, free: 104.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004453/10.42, allocations: 1.644 MB / 4.422 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.322e-05/10.42, allocations: 44 kB / 4.422 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003712/10.42, allocations: 84 kB / 4.422 GB, free: 102.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00226/10.42, allocations: 0.9309 MB / 4.423 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/10.42, allocations: 1.22 MB / 4.424 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/10.42, allocations: 0 / 4.424 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/10.42, allocations: 4 kB / 4.424 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-05/10.42, allocations: 54.59 kB / 4.424 GB, free: 100 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.009067/10.43, allocations: 6.882 MB / 4.431 GB, free: 92.69 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/10.43, allocations: 0.8048 MB / 4.432 GB, free: 91.85 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004601/10.43, allocations: 383.8 kB / 4.432 GB, free: 91.47 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007397/10.43, allocations: 0.7162 MB / 4.433 GB, free: 90.61 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/10.43, allocations: 43.34 kB / 4.433 GB, free: 90.56 MB / 0.948 GB Notification: Performance of pre-optimization done (n=75): time 2.735e-06/10.43, allocations: 3.938 kB / 4.433 GB, free: 90.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=75): time 0.00324/10.44, allocations: 1.153 MB / 4.434 GB, free: 89.39 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/10.44, allocations: 60.19 kB / 4.434 GB, free: 89.32 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/10.44, allocations: 0.9337 MB / 4.435 GB, free: 88.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/10.44, allocations: 29.7 kB / 4.435 GB, free: 88.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004563/10.44, allocations: 0.805 MB / 4.436 GB, free: 87.53 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/10.44, allocations: 256.2 kB / 4.436 GB, free: 87.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/10.44, allocations: 0 / 4.436 GB, free: 87.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.789e-05/10.44, allocations: 334 kB / 4.437 GB, free: 86.94 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/10.44, allocations: 262.5 kB / 4.437 GB, free: 86.69 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/10.44, allocations: 0.5491 MB / 4.437 GB, free: 86.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007231/10.44, allocations: 434.1 kB / 4.438 GB, free: 85.59 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/10.44, allocations: 7.938 kB / 4.438 GB, free: 85.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002583/10.44, allocations: 1.237 MB / 4.439 GB, free: 84.33 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005054/10.44, allocations: 1.96 MB / 4.441 GB, free: 82.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/10.44, allocations: 8 kB / 4.441 GB, free: 82.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/10.45, allocations: 366.3 kB / 4.441 GB, free: 81.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/10.45, allocations: 147.7 kB / 4.441 GB, free: 81.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/10.45, allocations: 2.115 MB / 4.443 GB, free: 79.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/10.45, allocations: 151.3 kB / 4.444 GB, free: 79.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.339e-05/10.45, allocations: 32 kB / 4.444 GB, free: 79.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/10.45, allocations: 5.094 kB / 4.444 GB, free: 79.36 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002264/10.45, allocations: 1.032 MB / 4.445 GB, free: 78.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/10.45, allocations: 8.031 kB / 4.445 GB, free: 78.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/10.45, allocations: 371.6 kB / 4.445 GB, free: 77.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/10.45, allocations: 143.8 kB / 4.445 GB, free: 77.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002928/10.46, allocations: 3.792 MB / 4.449 GB, free: 73.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/10.46, allocations: 139.4 kB / 4.449 GB, free: 73.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/10.46, allocations: 39.94 kB / 4.449 GB, free: 73.58 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 {3 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002732/10.46, allocations: 120.8 kB / 4.449 GB, free: 73.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/10.46, allocations: 142.2 kB / 4.449 GB, free: 73.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002919/10.46, allocations: 1.214 MB / 4.45 GB, free: 72.08 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/10.46, allocations: 8 kB / 4.45 GB, free: 72.07 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/10.46, allocations: 3.953 kB / 4.45 GB, free: 72.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002136/10.46, allocations: 1.318 MB / 4.452 GB, free: 70.66 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003905/10.47, allocations: 2.496 MB / 4.454 GB, free: 68.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/10.47, allocations: 4 kB / 4.454 GB, free: 68.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000432/10.47, allocations: 108.2 kB / 4.454 GB, free: 67.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/10.47, allocations: 352.1 kB / 4.455 GB, free: 67.62 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/10.47, allocations: 8 kB / 4.455 GB, free: 67.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/10.47, allocations: 2.098 MB / 4.457 GB, free: 65.45 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/10.47, allocations: 4 kB / 4.457 GB, free: 65.44 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/10.47, allocations: 1.319 MB / 4.458 GB, free: 64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006225/10.47, allocations: 331 kB / 4.458 GB, free: 63.66 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/10.47, allocations: 7.953 kB / 4.458 GB, free: 63.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009691/10.47, allocations: 107.8 kB / 4.458 GB, free: 63.54 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.983e-05/10.47, allocations: 52.44 kB / 4.458 GB, free: 63.49 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.853e-05/10.47, allocations: 39.98 kB / 4.459 GB, free: 63.45 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008782/10.48, allocations: 0.7023 MB / 4.459 GB, free: 62.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 3e-07/10.48, allocations: 0 / 4.459 GB, free: 62.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003154/10.48, allocations: 1.044 MB / 4.46 GB, free: 61.7 MB / 0.948 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 () * 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 {3 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003595/10.48, allocations: 2.522 MB / 4.463 GB, free: 59.38 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00233/10.48, allocations: 1.461 MB / 4.464 GB, free: 57.91 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/10.48, allocations: 0 / 4.464 GB, free: 57.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006101/10.49, allocations: 421.7 kB / 4.464 GB, free: 57.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003381/10.49, allocations: 0.7216 MB / 4.465 GB, free: 56.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/10.49, allocations: 1.931 MB / 4.467 GB, free: 54.82 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007088/10.49, allocations: 1.378 MB / 4.468 GB, free: 53.41 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00159/10.49, allocations: 411.1 kB / 4.469 GB, free: 53.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/10.49, allocations: 63.44 kB / 4.469 GB, free: 52.96 MB / 0.948 GB Notification: Performance of SimCode: time 7.21e-07/10.49, allocations: 0 / 4.469 GB, free: 52.96 MB / 0.948 GB Notification: Performance of Templates: time 0.06999/10.56, allocations: 41.75 MB / 4.51 GB, free: 11.7 MB / 0.948 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)