Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.168/2.168, allocations: 387.1 MB / 399.7 MB, free: 9.449 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 176.9 kB / 492.3 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 221.3 MB / 0.7871 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009611/0.0009609, allocations: 111.4 kB / 0.9267 GB, free: 13.92 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.486e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2908, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.187/1.478, allocations: 432.5 MB / 1.635 GB, free: 14.1 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.478, allocations: 86.02 kB / 1.635 GB, free: 14.06 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 19/20.48, allocations: 4.699 GB / 6.334 GB, free: 90.89 MB / 1.276 GB Notification: Performance of FrontEnd: time 1.944e-06/20.48, allocations: 1.781 kB / 6.334 GB, free: 90.89 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.004154/20.49, allocations: 408.9 kB / 6.335 GB, free: 90.84 MB / 1.276 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 0.05665/20.54, allocations: 13.7 MB / 6.348 GB, free: 86.36 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/20.54, allocations: 10.78 kB / 6.348 GB, free: 86.36 MB / 1.276 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008891/20.55, allocations: 1.686 MB / 6.35 GB, free: 86.25 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01443/20.57, allocations: 1.884 MB / 6.351 GB, free: 85.35 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0485/20.62, allocations: 18.14 MB / 6.369 GB, free: 83.65 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001355/20.62, allocations: 0.9735 MB / 6.37 GB, free: 83.62 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006227/20.62, allocations: 1.306 MB / 6.371 GB, free: 83.62 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05944/20.68, allocations: 18.06 MB / 6.389 GB, free: 81.43 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000939/20.68, allocations: 41.38 kB / 6.389 GB, free: 81.43 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005289/20.69, allocations: 0.5327 MB / 6.39 GB, free: 81.43 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004191/20.69, allocations: 351.8 kB / 6.39 GB, free: 81.43 MB / 1.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03916/20.73, allocations: 15.34 MB / 6.405 GB, free: 81.33 MB / 1.276 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.1533/20.88, allocations: 80.85 MB / 6.484 GB, free: 47.86 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01983/20.9, allocations: 11.86 MB / 6.495 GB, free: 47.38 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01211/20.91, allocations: 6.037 MB / 6.501 GB, free: 47.3 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06665/20.98, allocations: 28.77 MB / 6.529 GB, free: 56.68 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/20.98, allocations: 120.2 kB / 6.53 GB, free: 56.63 MB / 1.292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01091/20.99, allocations: 0.7725 MB / 6.53 GB, free: 56.13 MB / 1.292 GB Notification: Performance of pre-optimization done (n=651): time 4.445e-05/20.99, allocations: 5.406 kB / 6.53 GB, free: 56.13 MB / 1.292 GB Notification: Performance of matching and sorting (n=651): time 0.02778/21.02, allocations: 10.16 MB / 6.54 GB, free: 55.16 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.82e-05/21.02, allocations: 123.3 kB / 6.54 GB, free: 55.09 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03175/21.05, allocations: 12.04 MB / 6.552 GB, free: 54.27 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.002794/21.05, allocations: 188 kB / 6.552 GB, free: 54.23 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.01026/21.07, allocations: 7.167 MB / 6.559 GB, free: 51.45 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.004009/21.07, allocations: 2.292 MB / 6.561 GB, free: 50.01 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002454/21.07, allocations: 230 kB / 6.562 GB, free: 50.01 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.001391/21.07, allocations: 0.7723 MB / 6.562 GB, free: 49.68 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01043/21.08, allocations: 5.571 MB / 6.568 GB, free: 49.66 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01296/21.1, allocations: 9.462 MB / 6.577 GB, free: 45.08 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01351/21.11, allocations: 7.508 MB / 6.584 GB, free: 44.96 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002151/21.11, allocations: 37.06 kB / 6.585 GB, free: 44.96 MB / 1.292 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.04287/21.15, allocations: 18.19 MB / 6.602 GB, free: 44.01 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.02865/21.18, allocations: 69.07 MB / 6.67 GB, free: 36.62 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005187/21.18, allocations: 123.4 kB / 6.67 GB, free: 36.62 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09304/21.28, allocations: 11.87 MB / 6.681 GB, free: 35.96 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01074/21.29, allocations: 2.394 MB / 6.684 GB, free: 35.96 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01936/21.31, allocations: 20.17 MB / 6.703 GB, free: 23.84 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01849/21.32, allocations: 1.102 MB / 6.705 GB, free: 23.7 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003619/21.33, allocations: 0.5384 MB / 6.705 GB, free: 23.7 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/21.33, allocations: 2.656 kB / 6.705 GB, free: 23.7 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03925/21.37, allocations: 17.17 MB / 6.722 GB, free: 22.55 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004826/21.37, allocations: 118 kB / 6.722 GB, free: 22.55 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09001/21.46, allocations: 11.87 MB / 6.734 GB, free: 20.94 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009621/21.47, allocations: 2.375 MB / 6.736 GB, free: 20.69 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/21.49, allocations: 18.37 MB / 6.754 GB, free: 23.11 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01571/21.5, allocations: 1.047 MB / 6.755 GB, free: 22.81 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003669/21.5, allocations: 0.5409 MB / 6.755 GB, free: 22.72 MB / 1.37 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1233): * Single equations (assignments): 1215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,2 17,2 17,2 17,2 17,2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.005807/21.51, allocations: 0.7761 MB / 6.756 GB, free: 22.07 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00508/21.52, allocations: 1.159 MB / 6.757 GB, free: 21.45 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02737/21.54, allocations: 11.32 MB / 6.768 GB, free: 17.06 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.36e-05/21.54, allocations: 66.91 kB / 6.768 GB, free: 17.06 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.215e-05/21.54, allocations: 7.594 kB / 6.768 GB, free: 17.05 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01945/21.56, allocations: 9.32 MB / 6.777 GB, free: 13.44 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06998/21.63, allocations: 25.6 MB / 6.802 GB, free: 3.309 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.061e-05/21.63, allocations: 16.66 kB / 6.802 GB, free: 3.305 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005922/21.64, allocations: 1.125 MB / 6.804 GB, free: 3.211 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04849/21.69, allocations: 6.428 MB / 6.81 GB, free: 2.211 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001958/21.69, allocations: 186.6 kB / 6.81 GB, free: 2.113 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9982/22.69, allocations: 17.77 MB / 6.827 GB, free: 160.4 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.16e-05/22.69, allocations: 23.22 kB / 6.827 GB, free: 160.4 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03992/22.73, allocations: 21.09 MB / 6.848 GB, free: 154.7 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01263/22.74, allocations: 2.791 MB / 6.851 GB, free: 154.2 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00602/22.75, allocations: 157.1 kB / 6.851 GB, free: 154.2 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01502/22.76, allocations: 0.7539 MB / 6.852 GB, free: 154.2 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002158/22.76, allocations: 446.2 kB / 6.852 GB, free: 154.2 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001388/22.76, allocations: 297.7 kB / 6.852 GB, free: 154.2 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.02584/22.79, allocations: 9.178 MB / 6.861 GB, free: 153.8 MB / 1.37 GB Notification: Performance of sort global known variables: time 5.51e-07/22.79, allocations: 2.297 kB / 6.861 GB, free: 153.8 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.04497/22.84, allocations: 7.901 MB / 6.869 GB, free: 153.3 MB / 1.37 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 30 (tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDynSol.vol[1].dynBal.U,tanDynSol.vol[2].dynBal.U,tanDynSol.vol[3].dynBal.U,tanDynSol.vol[4].dynBal.U,tanDynSol.indTanHex.cap[1].T,tanDynSol.indTanHex.cap[2].T,tanDynSol.indTanHex.cap[3].T,tanDynSol.indTanHex.cap[4].T,tanDynSol.indTanHex.cap[5].T,tanDynSol.indTanHex.cap[6].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (561): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0422/22.88, allocations: 24.47 MB / 6.893 GB, free: 145.7 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.04843/22.93, allocations: 22.02 MB / 6.914 GB, free: 144.7 MB / 1.37 GB Notification: Performance of simCode: created event and clocks part: time 2.606e-05/22.93, allocations: 7.531 kB / 6.914 GB, free: 144.7 MB / 1.37 GB Notification: Performance of simCode: created simulation system equations: time 0.0115/22.94, allocations: 5.31 MB / 6.92 GB, free: 144.3 MB / 1.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03675/22.97, allocations: 6.115 MB / 6.926 GB, free: 144.2 MB / 1.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1063/23.08, allocations: 32.43 MB / 6.957 GB, free: 138.8 MB / 1.37 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01693/23.1, allocations: 10.2 MB / 6.967 GB, free: 137.7 MB / 1.37 GB Notification: Performance of simCode: alias equations: time 0.03499/23.13, allocations: 9.356 MB / 6.976 GB, free: 137.6 MB / 1.37 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01348/23.15, allocations: 6.111 MB / 6.982 GB, free: 137.6 MB / 1.37 GB Notification: Performance of SimCode: time 1.202e-06/23.15, allocations: 1.531 kB / 6.982 GB, free: 137.6 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.472/25.62, allocations: 419.3 MB / 7.392 GB, free: 128.1 MB / 1.37 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/25.62, allocations: 246.2 kB / 7.392 GB, free: 127.8 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.69/47.3, allocations: 0 / 7.392 GB, free: 127.8 MB / 1.37 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex_res.mat does not exist to compare? outputFormat=mat