Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.941/3.941, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002325/0.002325, allocations: 183.5 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.13/4.13, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001626/0.001627, allocations: 86.03 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008232/0.0008243, allocations: 17.38 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3263, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.429/8.756, allocations: 2.459 GB / 3.358 GB, free: 61.78 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/8.756, allocations: 106.2 kB / 3.358 GB, free: 61.72 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.592/14.35, allocations: 1.073 GB / 4.432 GB, free: 252 kB / 0.8855 GB Notification: Performance of FrontEnd: time 2.194e-06/14.35, allocations: 0 / 4.432 GB, free: 252 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002437/14.35, allocations: 55.97 kB / 4.432 GB, free: 196 kB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.009505/14.36, allocations: 2.43 MB / 4.434 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/14.36, allocations: 8.031 kB / 4.434 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/14.36, allocations: 370.1 kB / 4.435 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00598/14.37, allocations: 1.609 MB / 4.436 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/14.37, allocations: 112 kB / 4.436 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003398/14.37, allocations: 147.9 kB / 4.436 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004415/14.37, allocations: 1.48 MB / 4.438 GB, free: 9.898 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-05/14.37, allocations: 3.938 kB / 4.438 GB, free: 9.895 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/14.37, allocations: 64 kB / 4.438 GB, free: 9.832 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-05/14.37, allocations: 54.59 kB / 4.438 GB, free: 9.777 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003807/14.38, allocations: 1.123 MB / 4.439 GB, free: 8.648 MB / 0.9011 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.0155/14.39, allocations: 7.16 MB / 4.446 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/14.39, allocations: 0.8357 MB / 4.447 GB, free: 80 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.7283/15.12, allocations: 447.2 kB / 4.447 GB, free: 114.6 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/15.12, allocations: 0.7164 MB / 4.448 GB, free: 113.8 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/15.12, allocations: 45.94 kB / 4.448 GB, free: 113.8 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=75): time 4.368e-06/15.12, allocations: 0 / 4.448 GB, free: 113.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=75): time 0.01328/15.14, allocations: 2.249 MB / 4.45 GB, free: 113.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/15.14, allocations: 60.19 kB / 4.45 GB, free: 113.4 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003023/15.14, allocations: 1.283 MB / 4.451 GB, free: 113.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002718/15.14, allocations: 46.39 kB / 4.452 GB, free: 113.2 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009135/15.14, allocations: 0.8007 MB / 4.452 GB, free: 113 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004838/15.14, allocations: 259 kB / 4.453 GB, free: 112.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/15.14, allocations: 18.19 kB / 4.453 GB, free: 112.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001169/15.14, allocations: 335.7 kB / 4.453 GB, free: 112.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/15.14, allocations: 317.8 kB / 4.453 GB, free: 112.6 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/15.15, allocations: 0.6012 MB / 4.454 GB, free: 112.3 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/15.15, allocations: 405.4 kB / 4.454 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/15.15, allocations: 2.969 kB / 4.454 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.006552/15.15, allocations: 1.22 MB / 4.455 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001722/15.15, allocations: 231.8 kB / 4.456 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/15.15, allocations: 3.938 kB / 4.456 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003679/15.16, allocations: 425.2 kB / 4.456 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/15.16, allocations: 148.9 kB / 4.456 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/15.16, allocations: 2.09 MB / 4.458 GB, free: 110.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/15.16, allocations: 175.2 kB / 4.458 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00028/15.16, allocations: 38.27 kB / 4.458 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/15.16, allocations: 10.02 kB / 4.458 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003778/15.17, allocations: 1.017 MB / 4.459 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/15.17, allocations: 5.297 kB / 4.459 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002965/15.17, allocations: 386.9 kB / 4.46 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/15.17, allocations: 143.7 kB / 4.46 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005053/15.18, allocations: 3.876 MB / 4.464 GB, free: 107 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/15.18, allocations: 168.2 kB / 4.464 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002603/15.18, allocations: 37.12 kB / 4.464 GB, free: 106.9 MB / 0.9011 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.001587/15.18, allocations: 477.2 kB / 4.464 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000599/15.18, allocations: 154.3 kB / 4.464 GB, free: 106.7 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00434/15.19, allocations: 1.167 MB / 4.466 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/15.19, allocations: 7.75 kB / 4.466 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/15.19, allocations: 4.062 kB / 4.466 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003443/15.19, allocations: 1.251 MB / 4.467 GB, free: 106.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008646/15.2, allocations: 2.734 MB / 4.47 GB, free: 105.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/15.2, allocations: 3.797 kB / 4.47 GB, free: 105.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008944/15.2, allocations: 100.6 kB / 4.47 GB, free: 105.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002769/15.2, allocations: 387 kB / 4.47 GB, free: 105.6 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001707/15.2, allocations: 17.12 kB / 4.47 GB, free: 105.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/15.21, allocations: 2.081 MB / 4.472 GB, free: 104.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/15.21, allocations: 0 / 4.472 GB, free: 104.1 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003405/15.21, allocations: 1.253 MB / 4.473 GB, free: 103.7 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/15.21, allocations: 349.1 kB / 4.474 GB, free: 103.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000464/15.21, allocations: 14.97 kB / 4.474 GB, free: 103.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002421/15.21, allocations: 129 kB / 4.474 GB, free: 103.6 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/15.21, allocations: 58.33 kB / 4.474 GB, free: 103.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/15.21, allocations: 31.61 kB / 4.474 GB, free: 103.5 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002/15.22, allocations: 0.8744 MB / 4.475 GB, free: 103.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.92e-07/15.22, allocations: 1.531 kB / 4.475 GB, free: 103.4 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.005761/15.22, allocations: 1.095 MB / 4.476 GB, free: 103.4 MB / 0.9011 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.004747/15.23, allocations: 2.291 MB / 4.478 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005515/15.23, allocations: 1.614 MB / 4.48 GB, free: 102.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/15.23, allocations: 0 / 4.48 GB, free: 102.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/15.23, allocations: 488.9 kB / 4.48 GB, free: 102.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007828/15.24, allocations: 0.8185 MB / 4.481 GB, free: 102.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007812/15.25, allocations: 3.291 MB / 4.484 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/15.25, allocations: 1.348 MB / 4.485 GB, free: 100.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002571/15.25, allocations: 321.7 kB / 4.486 GB, free: 100 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/15.25, allocations: 100.9 kB / 4.486 GB, free: 100 MB / 0.9011 GB Notification: Performance of SimCode: time 1.443e-06/15.25, allocations: 0 / 4.486 GB, free: 100 MB / 0.9011 GB Notification: Performance of Templates: time 0.1297/15.38, allocations: 54.32 MB / 4.539 GB, free: 98.43 MB / 0.9011 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)