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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.773/1.773, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001123/0.001123, allocations: 172.9 kB / 361.4 MB, free: 6.809 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.842/1.842, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0009139/0.0009137, allocations: 88.73 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.999e-05/4.005e-05, allocations: 8 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7774/0.7775, allocations: 115.3 MB / 0.9645 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.936/6.713, allocations: 2.341 GB / 3.306 GB, free: 134.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/6.713, allocations: 99.25 kB / 3.306 GB, free: 134.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.056/10.77, allocations: 1.103 GB / 4.408 GB, free: 113.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.034e-06/10.77, allocations: 0 / 4.408 GB, free: 113.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003914/10.77, allocations: 56.95 kB / 4.408 GB, free: 113.5 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.009762/10.78, allocations: 2.105 MB / 4.41 GB, free: 112 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.94e-05/10.78, allocations: 7.094 kB / 4.41 GB, free: 112 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003268/10.78, allocations: 370.2 kB / 4.411 GB, free: 111.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006065/10.79, allocations: 1.635 MB / 4.412 GB, free: 110.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/10.79, allocations: 45.53 kB / 4.412 GB, free: 110.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005778/10.79, allocations: 84.53 kB / 4.413 GB, free: 110.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002504/10.79, allocations: 0.9346 MB / 4.413 GB, free: 110.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/10.79, allocations: 1.218 MB / 4.415 GB, free: 109.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/10.79, allocations: 0 / 4.415 GB, free: 109.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/10.79, allocations: 4 kB / 4.415 GB, free: 109.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-05/10.79, allocations: 54.59 kB / 4.415 GB, free: 109.1 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.008591/10.8, allocations: 6.882 MB / 4.421 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/10.8, allocations: 0.7997 MB / 4.422 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/10.81, allocations: 379.8 kB / 4.423 GB, free: 100.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008154/10.81, allocations: 0.7173 MB / 4.423 GB, free: 99.66 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/10.81, allocations: 51.28 kB / 4.423 GB, free: 99.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=75): time 3.286e-06/10.81, allocations: 0 / 4.423 GB, free: 99.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=75): time 0.003067/10.81, allocations: 1.155 MB / 4.424 GB, free: 98.43 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/10.81, allocations: 60.19 kB / 4.425 GB, free: 98.36 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/10.81, allocations: 0.9259 MB / 4.425 GB, free: 97.42 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-05/10.81, allocations: 33.7 kB / 4.425 GB, free: 97.38 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005126/10.81, allocations: 0.8127 MB / 4.426 GB, free: 96.56 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/10.81, allocations: 248.2 kB / 4.426 GB, free: 96.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/10.81, allocations: 0 / 4.426 GB, free: 96.32 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.205e-05/10.81, allocations: 341.1 kB / 4.427 GB, free: 95.98 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/10.81, allocations: 270.5 kB / 4.427 GB, free: 95.72 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004891/10.81, allocations: 0.5452 MB / 4.428 GB, free: 95.05 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007521/10.81, allocations: 438.1 kB / 4.428 GB, free: 94.62 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/10.81, allocations: 0 / 4.428 GB, free: 94.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002671/10.82, allocations: 1.233 MB / 4.429 GB, free: 93.37 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006328/10.82, allocations: 1.963 MB / 4.431 GB, free: 91.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/10.82, allocations: 11.94 kB / 4.431 GB, free: 91.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/10.82, allocations: 362.1 kB / 4.431 GB, free: 90.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005994/10.82, allocations: 147.8 kB / 4.432 GB, free: 90.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/10.82, allocations: 2.12 MB / 4.434 GB, free: 88.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/10.82, allocations: 143.3 kB / 4.434 GB, free: 88.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/10.82, allocations: 39.98 kB / 4.434 GB, free: 88.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/10.82, allocations: 5.25 kB / 4.434 GB, free: 88.39 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002387/10.82, allocations: 1.024 MB / 4.435 GB, free: 87.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/10.82, allocations: 8.406 kB / 4.435 GB, free: 87.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/10.83, allocations: 370.2 kB / 4.435 GB, free: 86.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/10.83, allocations: 147.7 kB / 4.435 GB, free: 86.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003057/10.83, allocations: 3.79 MB / 4.439 GB, free: 82.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/10.83, allocations: 131.3 kB / 4.439 GB, free: 82.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/10.83, allocations: 36 kB / 4.439 GB, free: 82.63 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.0003835/10.83, allocations: 128.8 kB / 4.439 GB, free: 82.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003042/10.83, allocations: 1.113 MB / 4.44 GB, free: 81.37 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000443/10.84, allocations: 138.3 kB / 4.441 GB, free: 81.23 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/10.84, allocations: 1.2 MB / 4.442 GB, free: 80.01 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/10.84, allocations: 11.94 kB / 4.442 GB, free: 80 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/10.84, allocations: 0 / 4.442 GB, free: 80 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002285/10.84, allocations: 1.319 MB / 4.443 GB, free: 78.59 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006472/10.85, allocations: 2.504 MB / 4.446 GB, free: 76.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/10.85, allocations: 4 kB / 4.446 GB, free: 76.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/10.85, allocations: 103.9 kB / 4.446 GB, free: 75.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001526/10.85, allocations: 359.4 kB / 4.446 GB, free: 75.55 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.945e-05/10.85, allocations: 8 kB / 4.446 GB, free: 75.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/10.85, allocations: 2.091 MB / 4.448 GB, free: 73.38 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/10.85, allocations: 4 kB / 4.448 GB, free: 73.38 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002947/10.85, allocations: 1.313 MB / 4.449 GB, free: 71.94 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/10.86, allocations: 331 kB / 4.45 GB, free: 71.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006702/10.86, allocations: 4 kB / 4.45 GB, free: 71.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001797/10.86, allocations: 111.7 kB / 4.45 GB, free: 71.48 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/10.86, allocations: 52.44 kB / 4.45 GB, free: 71.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/10.86, allocations: 31.98 kB / 4.45 GB, free: 71.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00176/10.86, allocations: 0.7102 MB / 4.45 GB, free: 70.69 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.41e-07/10.86, allocations: 0 / 4.45 GB, free: 70.69 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005376/10.87, allocations: 1.044 MB / 4.452 GB, free: 69.64 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.00705/10.87, allocations: 4.86 MB / 4.456 GB, free: 64.88 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002921/10.88, allocations: 1.454 MB / 4.458 GB, free: 63.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/10.88, allocations: 0 / 4.458 GB, free: 63.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007424/10.88, allocations: 417.7 kB / 4.458 GB, free: 63.01 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004087/10.88, allocations: 0.7241 MB / 4.459 GB, free: 62.32 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007348/10.89, allocations: 2.258 MB / 4.461 GB, free: 59.99 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/10.89, allocations: 1.382 MB / 4.462 GB, free: 58.57 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002487/10.89, allocations: 401.4 kB / 4.463 GB, free: 58.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009076/10.89, allocations: 0.5969 MB / 4.463 GB, free: 57.6 MB / 0.948 GB Notification: Performance of SimCode: time 4.779e-06/10.89, allocations: 0 / 4.463 GB, free: 57.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/10.99, allocations: 58.01 MB / 4.52 GB, free: 92 kB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/10.99, allocations: 197.5 kB / 4.52 GB, free: 15.83 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.419/15.41, allocations: 0 / 4.52 GB, free: 15.83 MB / 0.9636 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)