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.618/1.618, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.00115/0.00115, allocations: 184.7 kB / 371.6 MB, free: 3.383 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.678/1.678, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009372/0.0009366, allocations: 89.03 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.92e-05/3.922e-05, allocations: 8 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3174, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.864/7.182, allocations: 2.343 GB / 3.323 GB, free: 259.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/7.182, allocations: 97.5 kB / 3.323 GB, free: 259.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.527/11.71, allocations: 1.112 GB / 4.435 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.703e-06/11.71, allocations: 0 / 4.435 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001961/11.71, allocations: 52.38 kB / 4.435 GB, free: 105.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.006422/11.72, allocations: 2.095 MB / 4.437 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/11.72, allocations: 9.844 kB / 4.437 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/11.72, allocations: 365.8 kB / 4.438 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004523/11.72, allocations: 1.644 MB / 4.439 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.453e-05/11.72, allocations: 111.3 kB / 4.439 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/11.72, allocations: 143.1 kB / 4.44 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002889/11.73, allocations: 1.412 MB / 4.441 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/11.73, allocations: 5.344 kB / 4.441 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/11.73, allocations: 59.59 kB / 4.441 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.35e-05/11.73, allocations: 50.83 kB / 4.441 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/11.73, allocations: 1.033 MB / 4.442 GB, free: 104.1 MB / 0.9636 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.01016/11.74, allocations: 7.157 MB / 4.449 GB, free: 100.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/11.74, allocations: 0.8387 MB / 4.45 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005311/11.74, allocations: 399.4 kB / 4.45 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007169/11.74, allocations: 0.722 MB / 4.451 GB, free: 99.36 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/11.74, allocations: 46.06 kB / 4.451 GB, free: 99.32 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=75): time 2.906e-06/11.74, allocations: 0 / 4.451 GB, free: 99.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75): time 0.002795/11.74, allocations: 1.117 MB / 4.452 GB, free: 99.15 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/11.74, allocations: 62.12 kB / 4.452 GB, free: 99.09 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/11.75, allocations: 1.117 MB / 4.453 GB, free: 98.93 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/11.75, allocations: 47.52 kB / 4.453 GB, free: 98.89 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005301/11.75, allocations: 0.797 MB / 4.454 GB, free: 98.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000233/11.75, allocations: 266.2 kB / 4.454 GB, free: 98.43 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/11.75, allocations: 19.16 kB / 4.454 GB, free: 98.43 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.444e-05/11.75, allocations: 332.3 kB / 4.455 GB, free: 98.12 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/11.75, allocations: 285.7 kB / 4.455 GB, free: 98.12 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/11.75, allocations: 0.5613 MB / 4.455 GB, free: 97.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/11.75, allocations: 370.6 kB / 4.456 GB, free: 97.78 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/11.75, allocations: 1.531 kB / 4.456 GB, free: 97.78 MB / 0.9636 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002518/11.75, allocations: 1.245 MB / 4.457 GB, free: 97.61 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003819/11.75, allocations: 1.797 MB / 4.459 GB, free: 95.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/11.75, allocations: 8.531 kB / 4.459 GB, free: 95.71 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/11.75, allocations: 390.1 kB / 4.459 GB, free: 95.68 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000554/11.75, allocations: 139.1 kB / 4.459 GB, free: 95.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/11.76, allocations: 2.083 MB / 4.461 GB, free: 94.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/11.76, allocations: 183 kB / 4.461 GB, free: 94.06 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/11.76, allocations: 37.83 kB / 4.462 GB, free: 94.06 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/11.76, allocations: 3.656 kB / 4.462 GB, free: 94.06 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002292/11.76, allocations: 1.061 MB / 4.463 GB, free: 94.01 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/11.76, allocations: 3.969 kB / 4.463 GB, free: 94.01 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/11.76, allocations: 386.4 kB / 4.463 GB, free: 93.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/11.76, allocations: 144.7 kB / 4.463 GB, free: 93.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/11.76, allocations: 3.866 MB / 4.467 GB, free: 90.78 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/11.77, allocations: 171.9 kB / 4.467 GB, free: 90.74 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/11.77, allocations: 41.88 kB / 4.467 GB, free: 90.74 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 () * 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.0002862/11.77, allocations: 154.9 kB / 4.467 GB, free: 90.62 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004549/11.77, allocations: 153.4 kB / 4.467 GB, free: 90.55 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/11.77, allocations: 1.222 MB / 4.469 GB, free: 90.42 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/11.77, allocations: 17.02 kB / 4.469 GB, free: 90.42 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/11.77, allocations: 3.188 kB / 4.469 GB, free: 90.42 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002121/11.77, allocations: 1.31 MB / 4.47 GB, free: 89.91 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005333/11.78, allocations: 2.674 MB / 4.472 GB, free: 89.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/11.78, allocations: 2.531 kB / 4.472 GB, free: 89.45 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004512/11.78, allocations: 107.8 kB / 4.473 GB, free: 89.45 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/11.78, allocations: 385.6 kB / 4.473 GB, free: 89.42 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.692e-05/11.78, allocations: 14.75 kB / 4.473 GB, free: 89.42 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/11.78, allocations: 2.065 MB / 4.475 GB, free: 87.86 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/11.78, allocations: 7.125 kB / 4.475 GB, free: 87.86 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/11.78, allocations: 1.322 MB / 4.476 GB, free: 87.33 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009809/11.78, allocations: 347.9 kB / 4.477 GB, free: 87.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003681/11.78, allocations: 19.55 kB / 4.477 GB, free: 87.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/11.79, allocations: 118.8 kB / 4.477 GB, free: 87.13 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/11.79, allocations: 51.08 kB / 4.477 GB, free: 87.13 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.646e-05/11.79, allocations: 36.36 kB / 4.477 GB, free: 87.13 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001483/11.79, allocations: 0.8696 MB / 4.478 GB, free: 87.01 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.7e-07/11.79, allocations: 3.938 kB / 4.478 GB, free: 87.01 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004686/11.79, allocations: 1.105 MB / 4.479 GB, free: 86.88 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 () * 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.004152/11.8, allocations: 2.303 MB / 4.481 GB, free: 86.09 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003555/11.8, allocations: 1.563 MB / 4.482 GB, free: 85.81 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/11.8, allocations: 0 / 4.482 GB, free: 85.81 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000982/11.8, allocations: 460.2 kB / 4.483 GB, free: 85.79 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00497/11.81, allocations: 0.8 MB / 4.484 GB, free: 85.77 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006095/11.81, allocations: 1.981 MB / 4.486 GB, free: 85.13 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001674/11.81, allocations: 1.386 MB / 4.487 GB, free: 84.41 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003023/11.82, allocations: 445.2 kB / 4.487 GB, free: 84.38 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/11.82, allocations: 70.62 kB / 4.487 GB, free: 84.38 MB / 0.9636 GB Notification: Performance of SimCode: time 1.052e-06/11.82, allocations: 3.938 kB / 4.487 GB, free: 84.37 MB / 0.9636 GB Notification: Performance of Templates: time 0.08741/11.9, allocations: 62.49 MB / 4.549 GB, free: 78.43 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)