Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",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.267/2.267, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001229/0.001229, allocations: 187.5 kB / 498.1 MB, free: 5.746 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.695/1.695, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.001006/0.001006, allocations: 96.38 kB / 0.9346 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.000386, allocations: 11.62 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3247, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.555/5.88, allocations: 2.175 GB / 3.398 GB, free: 255.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/5.88, allocations: 103.5 kB / 3.398 GB, free: 255.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.304/9.184, allocations: 1.021 GB / 4.419 GB, free: 126.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.764e-06/9.184, allocations: 0 / 4.419 GB, free: 126.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002647/9.184, allocations: 55.98 kB / 4.419 GB, free: 126.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.006503/9.191, allocations: 2.177 MB / 4.421 GB, free: 124.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/9.191, allocations: 8.031 kB / 4.421 GB, free: 124 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005895/9.191, allocations: 176.8 kB / 4.421 GB, free: 123.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/9.194, allocations: 341.5 kB / 4.421 GB, free: 123.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003818/9.197, allocations: 1.614 MB / 4.423 GB, free: 121.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.353e-05/9.198, allocations: 94.09 kB / 4.423 GB, free: 121.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/9.198, allocations: 119.9 kB / 4.423 GB, free: 121.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/9.2, allocations: 1.181 MB / 4.424 GB, free: 120.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/9.2, allocations: 0 / 4.424 GB, free: 120.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.432e-05/9.2, allocations: 43.98 kB / 4.424 GB, free: 120.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.471e-05/9.2, allocations: 53.84 kB / 4.424 GB, free: 120.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/9.201, allocations: 0.9374 MB / 4.425 GB, free: 119.4 MB / 1.167 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.007152/9.208, allocations: 5.511 MB / 4.431 GB, free: 113.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/9.21, allocations: 0.8781 MB / 4.432 GB, free: 112.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004593/9.21, allocations: 0.6018 MB / 4.432 GB, free: 111.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/9.21, allocations: 47.06 kB / 4.432 GB, free: 111.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 2.866e-06/9.21, allocations: 0 / 4.432 GB, free: 111.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.002719/9.213, allocations: 1.412 MB / 4.434 GB, free: 110.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/9.213, allocations: 67.41 kB / 4.434 GB, free: 110.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/9.214, allocations: 1.051 MB / 4.435 GB, free: 109.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.42e-05/9.214, allocations: 45.7 kB / 4.435 GB, free: 109.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/9.214, allocations: 0.6854 MB / 4.435 GB, free: 108.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/9.215, allocations: 248.3 kB / 4.436 GB, free: 108.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/9.215, allocations: 16 kB / 4.436 GB, free: 108.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.876e-05/9.215, allocations: 334 kB / 4.436 GB, free: 107.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004326/9.215, allocations: 281.8 kB / 4.436 GB, free: 107.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000552/9.216, allocations: 0.5031 MB / 4.437 GB, free: 106.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/9.216, allocations: 357 kB / 4.437 GB, free: 106.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/9.216, allocations: 0 / 4.437 GB, free: 106.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001475/9.218, allocations: 0.9775 MB / 4.438 GB, free: 105.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001682/9.218, allocations: 0.8983 MB / 4.439 GB, free: 104.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/9.218, allocations: 4 kB / 4.439 GB, free: 104.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002983/9.218, allocations: 101.5 kB / 4.439 GB, free: 104.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/9.219, allocations: 151.8 kB / 4.439 GB, free: 104.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007568/9.22, allocations: 1.765 MB / 4.441 GB, free: 102.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/9.221, allocations: 171.3 kB / 4.441 GB, free: 102.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-05/9.221, allocations: 32 kB / 4.441 GB, free: 102.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/9.221, allocations: 4.781 kB / 4.441 GB, free: 102.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001391/9.223, allocations: 0.8016 MB / 4.442 GB, free: 101.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/9.223, allocations: 11.98 kB / 4.442 GB, free: 101.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002409/9.223, allocations: 85.66 kB / 4.442 GB, free: 101.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/9.223, allocations: 152 kB / 4.442 GB, free: 101.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/9.226, allocations: 3.153 MB / 4.445 GB, free: 97.86 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/9.227, allocations: 159.3 kB / 4.445 GB, free: 97.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.295e-05/9.227, allocations: 27.98 kB / 4.445 GB, free: 97.68 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0009383/9.228, allocations: 445.6 kB / 4.446 GB, free: 97.23 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/9.229, allocations: 150.2 kB / 4.446 GB, free: 97.08 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/9.23, allocations: 0.9704 MB / 4.447 GB, free: 96.09 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/9.23, allocations: 13.27 kB / 4.447 GB, free: 96.08 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/9.23, allocations: 7.938 kB / 4.447 GB, free: 96.07 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001238/9.231, allocations: 1.087 MB / 4.448 GB, free: 94.89 MB / 1.167 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 postOpt removeSimpleEquations (simulation): time 0.003884/9.235, allocations: 2.451 MB / 4.45 GB, free: 92.35 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/9.235, allocations: 11.98 kB / 4.45 GB, free: 92.34 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007147/9.236, allocations: 155.8 kB / 4.451 GB, free: 92.18 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002101/9.236, allocations: 85.84 kB / 4.451 GB, free: 92.09 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/9.236, allocations: 23.98 kB / 4.451 GB, free: 92.07 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000719/9.237, allocations: 1.742 MB / 4.452 GB, free: 90.25 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/9.237, allocations: 3.938 kB / 4.452 GB, free: 90.25 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/9.239, allocations: 1.601 MB / 4.454 GB, free: 88.53 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006966/9.24, allocations: 323.2 kB / 4.454 GB, free: 88.19 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/9.24, allocations: 20 kB / 4.454 GB, free: 88.17 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/9.241, allocations: 127.5 kB / 4.454 GB, free: 88.05 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/9.241, allocations: 52.44 kB / 4.454 GB, free: 88 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.146e-05/9.241, allocations: 27.98 kB / 4.454 GB, free: 87.97 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001071/9.242, allocations: 0.8321 MB / 4.455 GB, free: 87.14 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/9.242, allocations: 0 / 4.455 GB, free: 87.14 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003349/9.246, allocations: 0.9865 MB / 4.456 GB, free: 86.15 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.medium.Xi[1],hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.mas.T) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005356/9.251, allocations: 4.638 MB / 4.461 GB, free: 81.38 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002471/9.254, allocations: 1.393 MB / 4.462 GB, free: 79.96 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/9.254, allocations: 0 / 4.462 GB, free: 79.96 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000685/9.254, allocations: 411.2 kB / 4.463 GB, free: 79.55 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003738/9.258, allocations: 0.799 MB / 4.463 GB, free: 78.77 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/9.27, allocations: 9.774 MB / 4.473 GB, free: 68.62 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007033/9.271, allocations: 1.316 MB / 4.474 GB, free: 67.27 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001492/9.272, allocations: 354.5 kB / 4.474 GB, free: 66.92 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000624/9.273, allocations: 0.5735 MB / 4.475 GB, free: 66.34 MB / 1.167 GB Notification: Performance of SimCode: time 1.242e-06/9.273, allocations: 4 kB / 4.475 GB, free: 66.34 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0959/9.369, allocations: 67.59 MB / 4.541 GB, free: 15.35 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/9.369, allocations: 284.9 kB / 4.541 GB, free: 14.98 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.251/13.62, allocations: 3.625 kB / 4.541 GB, free: 14.98 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat does not exist to compare? outputFormat=mat