Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 288.3 MB / 303.2 MB, free: 8.207 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.001205/0.001205, allocations: 189 kB / 371.8 MB, free: 10.3 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.473/1.473, allocations: 205.4 MB / 0.6306 GB, free: 9.93 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008528/0.0008526, allocations: 97.94 kB / 0.7439 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004104, allocations: 13.41 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2134, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.552/5.766, allocations: 2.342 GB / 3.321 GB, free: 271.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/5.766, allocations: 104.2 kB / 3.322 GB, free: 271.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.133/9.899, allocations: 1.114 GB / 4.436 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.174e-06/9.899, allocations: 0 / 4.436 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001633/9.9, allocations: 47.47 kB / 4.436 GB, free: 126.7 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.005967/9.905, allocations: 2.415 MB / 4.438 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/9.906, allocations: 10.06 kB / 4.438 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001861/9.907, allocations: 375.5 kB / 4.439 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00366/9.911, allocations: 1.645 MB / 4.44 GB, free: 125.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.22e-05/9.911, allocations: 110.5 kB / 4.44 GB, free: 125.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/9.911, allocations: 138.1 kB / 4.44 GB, free: 125.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/9.914, allocations: 1.475 MB / 4.442 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/9.914, allocations: 3 kB / 4.442 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/9.914, allocations: 59.53 kB / 4.442 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.389e-05/9.914, allocations: 59.34 kB / 4.442 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/9.916, allocations: 1.118 MB / 4.443 GB, free: 125.1 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.00847/9.925, allocations: 7.16 MB / 4.45 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/9.926, allocations: 0.8781 MB / 4.451 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007141/9.927, allocations: 0.7129 MB / 4.452 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/9.927, allocations: 46.56 kB / 4.452 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=75): time 3.236e-06/9.927, allocations: 5.031 kB / 4.452 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75): time 0.006941/9.934, allocations: 2.211 MB / 4.454 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/9.934, allocations: 62.5 kB / 4.454 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/9.936, allocations: 1.139 MB / 4.455 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/9.936, allocations: 44.33 kB / 4.455 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005467/9.936, allocations: 0.8063 MB / 4.456 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/9.936, allocations: 259.7 kB / 4.456 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/9.936, allocations: 18.59 kB / 4.456 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.961e-05/9.937, allocations: 334 kB / 4.456 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005232/9.937, allocations: 318.8 kB / 4.457 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/9.938, allocations: 0.5986 MB / 4.457 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006168/9.938, allocations: 409.4 kB / 4.458 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/9.938, allocations: 3.531 kB / 4.458 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002035/9.94, allocations: 1.196 MB / 4.459 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003605/9.941, allocations: 1.795 MB / 4.461 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/9.941, allocations: 3.594 kB / 4.461 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/9.942, allocations: 391.6 kB / 4.461 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006024/9.943, allocations: 148.1 kB / 4.461 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/9.945, allocations: 2.085 MB / 4.463 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/9.946, allocations: 180.8 kB / 4.463 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.254e-05/9.946, allocations: 36.44 kB / 4.463 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/9.946, allocations: 10.11 kB / 4.463 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001799/9.948, allocations: 1.023 MB / 4.464 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/9.948, allocations: 6.219 kB / 4.464 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/9.95, allocations: 381.9 kB / 4.465 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006012/9.95, allocations: 145.3 kB / 4.465 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003415/9.954, allocations: 3.883 MB / 4.469 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/9.956, allocations: 175 kB / 4.469 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/9.956, allocations: 40.84 kB / 4.469 GB, free: 111.6 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.00138/9.958, allocations: 465.7 kB / 4.469 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006214/9.958, allocations: 157.4 kB / 4.47 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/9.961, allocations: 1.187 MB / 4.471 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/9.961, allocations: 7.875 kB / 4.471 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/9.961, allocations: 3.562 kB / 4.471 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001598/9.963, allocations: 1.25 MB / 4.472 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005449/9.968, allocations: 2.737 MB / 4.475 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/9.968, allocations: 0 / 4.475 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/9.969, allocations: 105.2 kB / 4.475 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/9.97, allocations: 381.1 kB / 4.475 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.363e-05/9.97, allocations: 22.05 kB / 4.475 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/9.971, allocations: 2.084 MB / 4.477 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/9.971, allocations: 3.844 kB / 4.477 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/9.973, allocations: 1.393 MB / 4.478 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007869/9.974, allocations: 348.6 kB / 4.479 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/9.974, allocations: 14.16 kB / 4.479 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/9.975, allocations: 125.4 kB / 4.479 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/9.975, allocations: 59.45 kB / 4.479 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-05/9.976, allocations: 31.06 kB / 4.479 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001236/9.977, allocations: 0.8839 MB / 4.48 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.3e-07/9.977, allocations: 0 / 4.48 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003293/9.98, allocations: 1.103 MB / 4.481 GB, free: 107.7 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.003238/9.983, allocations: 2.312 MB / 4.483 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003024/9.986, allocations: 1.617 MB / 4.485 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/9.986, allocations: 2.375 kB / 4.485 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009447/9.987, allocations: 498.9 kB / 4.485 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004012/9.991, allocations: 0.8035 MB / 4.486 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/9.996, allocations: 3.265 MB / 4.489 GB, free: 105 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007531/9.997, allocations: 1.38 MB / 4.491 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001563/9.998, allocations: 326.3 kB / 4.491 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/9.999, allocations: 97.38 kB / 4.491 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of SimCode: time 1.473e-06/9.999, allocations: 0 / 4.491 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of Templates: time 0.07518/10.07, allocations: 54.51 MB / 4.544 GB, free: 101.1 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)