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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001635/0.001635, allocations: 184.8 kB / 366.7 MB, free: 1.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.001086/0.001086, allocations: 92.33 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.894e-05/4.886e-05, allocations: 8 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7203/0.7204, allocations: 116.3 MB / 0.9733 GB, free: 76.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.945/6.665, allocations: 2.342 GB / 3.316 GB, free: 147.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/6.666, allocations: 97 kB / 3.316 GB, free: 147.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.419/11.08, allocations: 1.103 GB / 4.418 GB, free: 106 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.683e-06/11.08, allocations: 0 / 4.418 GB, free: 106 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003378/11.09, allocations: 52.8 kB / 4.418 GB, free: 105.9 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.007495/11.09, allocations: 2.11 MB / 4.42 GB, free: 103.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/11.09, allocations: 8.75 kB / 4.42 GB, free: 103.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002688/11.1, allocations: 369.5 kB / 4.421 GB, free: 103.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004165/11.1, allocations: 1.636 MB / 4.422 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/11.1, allocations: 40 kB / 4.422 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/11.1, allocations: 84 kB / 4.422 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002002/11.1, allocations: 0.9348 MB / 4.423 GB, free: 100.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/11.1, allocations: 1.216 MB / 4.424 GB, free: 99.44 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/11.1, allocations: 3.938 kB / 4.425 GB, free: 99.44 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/11.1, allocations: 8 kB / 4.425 GB, free: 99.43 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-05/11.1, allocations: 62.58 kB / 4.425 GB, free: 99.37 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.008242/11.11, allocations: 6.87 MB / 4.431 GB, free: 92.05 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/11.11, allocations: 0.8036 MB / 4.432 GB, free: 91.21 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004401/11.11, allocations: 382.4 kB / 4.432 GB, free: 90.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007665/11.12, allocations: 0.7108 MB / 4.433 GB, free: 89.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/11.12, allocations: 47.34 kB / 4.433 GB, free: 89.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=75): time 3.586e-06/11.12, allocations: 0 / 4.433 GB, free: 89.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=75): time 0.003097/11.12, allocations: 1.162 MB / 4.434 GB, free: 88.75 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/11.12, allocations: 60.19 kB / 4.434 GB, free: 88.68 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/11.12, allocations: 0.9259 MB / 4.435 GB, free: 87.74 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.826e-05/11.12, allocations: 29.7 kB / 4.435 GB, free: 87.71 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005601/11.12, allocations: 0.8088 MB / 4.436 GB, free: 86.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/11.12, allocations: 248.2 kB / 4.436 GB, free: 86.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/11.12, allocations: 0 / 4.436 GB, free: 86.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.74e-05/11.12, allocations: 340.1 kB / 4.437 GB, free: 86.31 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/11.12, allocations: 270.5 kB / 4.437 GB, free: 86.05 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/11.12, allocations: 0.5491 MB / 4.437 GB, free: 85.38 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007394/11.12, allocations: 434.1 kB / 4.438 GB, free: 84.95 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/11.12, allocations: 0 / 4.438 GB, free: 84.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002659/11.12, allocations: 1.237 MB / 4.439 GB, free: 83.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000462/11.13, allocations: 1.963 MB / 4.441 GB, free: 81.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/11.13, allocations: 8 kB / 4.441 GB, free: 81.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/11.13, allocations: 363.4 kB / 4.441 GB, free: 81.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005636/11.13, allocations: 151.8 kB / 4.441 GB, free: 81.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/11.13, allocations: 2.116 MB / 4.444 GB, free: 78.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/11.13, allocations: 147.2 kB / 4.444 GB, free: 78.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-05/11.13, allocations: 39.98 kB / 4.444 GB, free: 78.72 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/11.13, allocations: 4 kB / 4.444 GB, free: 78.72 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002295/11.13, allocations: 1.028 MB / 4.445 GB, free: 77.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/11.13, allocations: 8 kB / 4.445 GB, free: 77.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/11.13, allocations: 366.4 kB / 4.445 GB, free: 77.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/11.13, allocations: 143.8 kB / 4.445 GB, free: 77.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002919/11.14, allocations: 3.791 MB / 4.449 GB, free: 73.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/11.14, allocations: 131.4 kB / 4.449 GB, free: 73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-05/11.14, allocations: 47.81 kB / 4.449 GB, free: 72.95 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.0002816/11.14, allocations: 120.8 kB / 4.449 GB, free: 72.83 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002432/11.14, allocations: 1.104 MB / 4.45 GB, free: 71.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/11.14, allocations: 142.3 kB / 4.45 GB, free: 71.57 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/11.14, allocations: 1.214 MB / 4.452 GB, free: 70.33 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/11.14, allocations: 8 kB / 4.452 GB, free: 70.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/11.14, allocations: 0 / 4.452 GB, free: 70.32 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002248/11.15, allocations: 1.318 MB / 4.453 GB, free: 68.91 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004404/11.15, allocations: 2.494 MB / 4.455 GB, free: 66.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/11.15, allocations: 4 kB / 4.455 GB, free: 66.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/11.15, allocations: 108.2 kB / 4.455 GB, free: 66.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/11.15, allocations: 357.4 kB / 4.456 GB, free: 65.88 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/11.15, allocations: 7.984 kB / 4.456 GB, free: 65.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/11.15, allocations: 2.091 MB / 4.458 GB, free: 63.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/11.15, allocations: 7.938 kB / 4.458 GB, free: 63.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/11.16, allocations: 1.322 MB / 4.459 GB, free: 62.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008261/11.16, allocations: 323.1 kB / 4.459 GB, free: 61.92 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/11.16, allocations: 7.984 kB / 4.459 GB, free: 61.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/11.16, allocations: 107.7 kB / 4.46 GB, free: 61.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/11.16, allocations: 56.42 kB / 4.46 GB, free: 61.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.771e-05/11.16, allocations: 35.98 kB / 4.46 GB, free: 61.71 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001068/11.16, allocations: 0.6985 MB / 4.46 GB, free: 61.02 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/11.16, allocations: 0 / 4.46 GB, free: 61.02 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003604/11.16, allocations: 1.048 MB / 4.461 GB, free: 59.96 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.006182/11.17, allocations: 4.861 MB / 4.466 GB, free: 55.21 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002578/11.17, allocations: 1.457 MB / 4.468 GB, free: 53.75 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/11.17, allocations: 4 kB / 4.468 GB, free: 53.74 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006822/11.17, allocations: 419 kB / 4.468 GB, free: 53.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004172/11.18, allocations: 0.7141 MB / 4.469 GB, free: 52.65 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005192/11.18, allocations: 2.254 MB / 4.471 GB, free: 50.32 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008879/11.18, allocations: 1.386 MB / 4.472 GB, free: 48.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002035/11.19, allocations: 410.5 kB / 4.473 GB, free: 48.52 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006387/11.19, allocations: 0.5906 MB / 4.473 GB, free: 47.93 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/11.19, allocations: 0 / 4.473 GB, free: 47.93 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/11.31, allocations: 58.01 MB / 4.53 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/11.31, allocations: 189.3 kB / 4.53 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.323/15.63, allocations: 0 / 4.53 GB, free: 6.152 MB / 0.9636 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)