Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.394/1.394, allocations: 249.5 MB / 257 MB, free: 6.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 180.8 kB / 316.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0007956/0.0007959, allocations: 98.47 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.377e-05/2.379e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2318, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.026/6.258, allocations: 2.459 GB / 3.344 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/6.258, allocations: 101.6 kB / 3.344 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.653/9.911, allocations: 1.071 GB / 4.416 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.112e-06/9.911, allocations: 3.062 kB / 4.416 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001612/9.911, allocations: 55.05 kB / 4.416 GB, free: 121.7 MB / 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.004853/9.916, allocations: 2.117 MB / 4.418 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/9.916, allocations: 8.25 kB / 4.418 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/9.918, allocations: 368.1 kB / 4.418 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003562/9.921, allocations: 1.635 MB / 4.42 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.434e-05/9.922, allocations: 46.41 kB / 4.42 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/9.922, allocations: 86.03 kB / 4.42 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001766/9.923, allocations: 0.933 MB / 4.421 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/9.925, allocations: 1.223 MB / 4.422 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/9.926, allocations: 0 / 4.422 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.881e-05/9.926, allocations: 2.75 kB / 4.422 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.86e-05/9.926, allocations: 60.44 kB / 4.422 GB, free: 119.9 MB / 0.8855 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.006958/9.933, allocations: 6.891 MB / 4.429 GB, free: 116 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/9.934, allocations: 0.792 MB / 4.43 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/9.934, allocations: 375.3 kB / 4.43 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006799/9.935, allocations: 0.7155 MB / 4.431 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/9.935, allocations: 42.78 kB / 4.431 GB, free: 115 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=75): time 3.747e-06/9.935, allocations: 0 / 4.431 GB, free: 115 MB / 0.8855 GB Notification: Performance of matching and sorting (n=75): time 0.00289/9.938, allocations: 1.16 MB / 4.432 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/9.938, allocations: 63.41 kB / 4.432 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/9.939, allocations: 0.9318 MB / 4.433 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/9.939, allocations: 29.14 kB / 4.433 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000486/9.94, allocations: 0.8102 MB / 4.434 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/9.94, allocations: 253.1 kB / 4.434 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/9.94, allocations: 0 / 4.434 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.833e-05/9.94, allocations: 337.8 kB / 4.434 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/9.94, allocations: 260.2 kB / 4.435 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/9.941, allocations: 0.5522 MB / 4.435 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007146/9.942, allocations: 427.6 kB / 4.436 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/9.942, allocations: 3.906 kB / 4.436 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00259/9.944, allocations: 1.236 MB / 4.437 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000387/9.945, allocations: 1.96 MB / 4.439 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/9.945, allocations: 7.281 kB / 4.439 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/9.946, allocations: 366.4 kB / 4.439 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/9.946, allocations: 150.9 kB / 4.439 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/9.948, allocations: 2.113 MB / 4.441 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/9.949, allocations: 151.5 kB / 4.441 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.813e-05/9.949, allocations: 36.53 kB / 4.441 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/9.949, allocations: 5.406 kB / 4.441 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00232/9.952, allocations: 1.029 MB / 4.442 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/9.952, allocations: 6.656 kB / 4.442 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/9.953, allocations: 365.8 kB / 4.443 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/9.954, allocations: 154.5 kB / 4.443 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/9.956, allocations: 3.787 MB / 4.447 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/9.958, allocations: 138.4 kB / 4.447 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.33e-05/9.958, allocations: 40.83 kB / 4.447 GB, free: 103.9 MB / 0.8855 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.0002391/9.958, allocations: 123.2 kB / 4.447 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002279/9.96, allocations: 1.092 MB / 4.448 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/9.96, allocations: 139.1 kB / 4.448 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/9.963, allocations: 1.208 MB / 4.449 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/9.963, allocations: 7.875 kB / 4.449 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/9.963, allocations: 1.719 kB / 4.449 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002057/9.965, allocations: 1.315 MB / 4.451 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004593/9.97, allocations: 2.5 MB / 4.453 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/9.97, allocations: 3.125 kB / 4.453 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/9.97, allocations: 106.4 kB / 4.453 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00133/9.972, allocations: 353.2 kB / 4.454 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.556e-05/9.972, allocations: 11.64 kB / 4.454 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/9.973, allocations: 2.09 MB / 4.456 GB, free: 98.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/9.973, allocations: 7.781 kB / 4.456 GB, free: 98.92 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/9.975, allocations: 1.312 MB / 4.457 GB, free: 98.11 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/9.976, allocations: 334.8 kB / 4.457 GB, free: 97.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003924/9.977, allocations: 2.688 kB / 4.457 GB, free: 97.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/9.978, allocations: 116.9 kB / 4.457 GB, free: 97.86 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/9.978, allocations: 55.88 kB / 4.457 GB, free: 97.85 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.019e-05/9.978, allocations: 36.2 kB / 4.457 GB, free: 97.84 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001431/9.98, allocations: 0.7066 MB / 4.458 GB, free: 97.52 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/9.98, allocations: 2.516 kB / 4.458 GB, free: 97.52 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004686/9.984, allocations: 1.052 MB / 4.459 GB, free: 97.24 MB / 0.8855 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.006917/9.991, allocations: 4.835 MB / 4.464 GB, free: 94.49 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00311/9.994, allocations: 1.448 MB / 4.465 GB, free: 93.84 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/9.995, allocations: 3.781 kB / 4.465 GB, free: 93.84 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008196/9.995, allocations: 418.9 kB / 4.466 GB, free: 93.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004332/10, allocations: 0.7243 MB / 4.466 GB, free: 93.55 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006667/10.01, allocations: 2.271 MB / 4.469 GB, free: 92.57 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/10.01, allocations: 1.389 MB / 4.47 GB, free: 91.79 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002442/10.01, allocations: 406.3 kB / 4.47 GB, free: 91.71 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008052/10.01, allocations: 0.5987 MB / 4.471 GB, free: 91.22 MB / 0.8855 GB Notification: Performance of SimCode: time 1.112e-06/10.01, allocations: 0 / 4.471 GB, free: 91.22 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09612/10.11, allocations: 58.07 MB / 4.528 GB, free: 37.41 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/10.11, allocations: 209.5 kB / 4.528 GB, free: 37.14 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.895/14, allocations: 0 / 4.528 GB, free: 37.14 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)