Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.402/2.402, allocations: 390.5 MB / 398 MB, free: 11 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.001629/0.001629, allocations: 188.5 kB / 491.2 MB, free: 1.617 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.698/1.698, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001117/0.001117, allocations: 99.75 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.01e-05/2.013e-05, allocations: 8.219 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3474, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.009/6.356, allocations: 2.175 GB / 3.388 GB, free: 100.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/6.357, allocations: 95.11 kB / 3.388 GB, free: 100.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.587/10.94, allocations: 1.01 GB / 4.398 GB, free: 216.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.763e-06/10.94, allocations: 0.625 kB / 4.398 GB, free: 216.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001912/10.94, allocations: 48.08 kB / 4.398 GB, free: 216.7 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.005295/10.95, allocations: 1.879 MB / 4.4 GB, free: 216.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/10.95, allocations: 8.344 kB / 4.4 GB, free: 216.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/10.95, allocations: 341.5 kB / 4.4 GB, free: 216.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003907/10.96, allocations: 1.598 MB / 4.402 GB, free: 215.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/10.96, allocations: 39.42 kB / 4.402 GB, free: 215.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/10.96, allocations: 69.5 kB / 4.402 GB, free: 215.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001708/10.96, allocations: 0.7839 MB / 4.402 GB, free: 215.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/10.96, allocations: 0.9816 MB / 4.403 GB, free: 215.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.828e-05/10.96, allocations: 1.312 kB / 4.403 GB, free: 215.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.481e-05/10.96, allocations: 1.25 kB / 4.403 GB, free: 215.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.299e-05/10.96, allocations: 44.36 kB / 4.403 GB, free: 215.6 MB / 1.167 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.009719/10.97, allocations: 5.284 MB / 4.409 GB, free: 213.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/10.97, allocations: 0.8093 MB / 4.409 GB, free: 212.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000555/10.97, allocations: 361.8 kB / 4.41 GB, free: 212.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005821/10.97, allocations: 0.6067 MB / 4.41 GB, free: 212.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/10.97, allocations: 46.67 kB / 4.41 GB, free: 212.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 3.036e-06/10.97, allocations: 0 / 4.41 GB, free: 212.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.002444/10.97, allocations: 0.8199 MB / 4.411 GB, free: 212 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/10.97, allocations: 59.28 kB / 4.411 GB, free: 211.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/10.98, allocations: 0.8793 MB / 4.412 GB, free: 211.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/10.98, allocations: 27.58 kB / 4.412 GB, free: 211.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005855/10.98, allocations: 0.697 MB / 4.413 GB, free: 211.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/10.98, allocations: 237.6 kB / 4.413 GB, free: 211.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/10.98, allocations: 0 / 4.413 GB, free: 211.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.348e-05/10.98, allocations: 332.5 kB / 4.413 GB, free: 211.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/10.98, allocations: 237.2 kB / 4.414 GB, free: 211.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/10.98, allocations: 466.2 kB / 4.414 GB, free: 210.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006659/10.98, allocations: 323.1 kB / 4.414 GB, free: 210.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/10.98, allocations: 0.9688 kB / 4.414 GB, free: 210.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001879/10.98, allocations: 0.8843 MB / 4.415 GB, free: 210.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002707/10.98, allocations: 1.073 MB / 4.416 GB, free: 209.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/10.98, allocations: 6.031 kB / 4.416 GB, free: 209.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002886/10.98, allocations: 85.36 kB / 4.416 GB, free: 209.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008128/10.98, allocations: 161.9 kB / 4.416 GB, free: 209.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009322/10.98, allocations: 1.777 MB / 4.418 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/10.99, allocations: 139.2 kB / 4.418 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.57e-05/10.99, allocations: 34.77 kB / 4.418 GB, free: 208 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/10.99, allocations: 4.219 kB / 4.418 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001381/10.99, allocations: 0.6689 MB / 4.419 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/10.99, allocations: 9.562 kB / 4.419 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/10.99, allocations: 93.94 kB / 4.419 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006173/10.99, allocations: 149.8 kB / 4.419 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/10.99, allocations: 2.947 MB / 4.422 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/10.99, allocations: 138.5 kB / 4.422 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.7e-05/10.99, allocations: 34.38 kB / 4.422 GB, free: 205.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0002962/10.99, allocations: 124.8 kB / 4.422 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001537/10.99, allocations: 0.7448 MB / 4.423 GB, free: 205.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/10.99, allocations: 132.4 kB / 4.423 GB, free: 205.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/11, allocations: 0.836 MB / 4.424 GB, free: 205 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/11, allocations: 15.03 kB / 4.424 GB, free: 205 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/11, allocations: 0 / 4.424 GB, free: 205 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001066/11, allocations: 0.9709 MB / 4.425 GB, free: 204.5 MB / 1.167 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 postOpt removeSimpleEquations (simulation): time 0.00408/11, allocations: 2.193 MB / 4.427 GB, free: 204.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/11, allocations: 6.984 kB / 4.427 GB, free: 204.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007218/11, allocations: 155.1 kB / 4.427 GB, free: 204.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001603/11, allocations: 70.14 kB / 4.427 GB, free: 204.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/11, allocations: 6.781 kB / 4.427 GB, free: 204.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007911/11, allocations: 1.748 MB / 4.429 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/11, allocations: 3.781 kB / 4.429 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/11, allocations: 1.416 MB / 4.431 GB, free: 202 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007051/11, allocations: 310.2 kB / 4.431 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/11, allocations: 7.469 kB / 4.431 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/11.01, allocations: 108.6 kB / 4.431 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/11.01, allocations: 47.58 kB / 4.431 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.019e-05/11.01, allocations: 33.58 kB / 4.431 GB, free: 201.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008551/11.01, allocations: 0.6717 MB / 4.432 GB, free: 201.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.3e-07/11.01, allocations: 0 / 4.432 GB, free: 201.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002891/11.01, allocations: 0.9248 MB / 4.433 GB, free: 201.7 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 () * 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.005213/11.02, allocations: 4.654 MB / 4.437 GB, free: 199.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002311/11.02, allocations: 1.262 MB / 4.438 GB, free: 199.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/11.02, allocations: 4.375 kB / 4.438 GB, free: 199.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006911/11.02, allocations: 355.5 kB / 4.439 GB, free: 199.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004061/11.02, allocations: 0.7417 MB / 4.439 GB, free: 199.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005163/11.03, allocations: 2.381 MB / 4.442 GB, free: 198.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007173/11.03, allocations: 1.321 MB / 4.443 GB, free: 197.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001966/11.03, allocations: 430.3 kB / 4.443 GB, free: 197.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000625/11.03, allocations: 0.5413 MB / 4.444 GB, free: 197.9 MB / 1.167 GB Notification: Performance of SimCode: time 8.12e-07/11.03, allocations: 0 / 4.444 GB, free: 197.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09262/11.12, allocations: 52.07 MB / 4.495 GB, free: 196.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/11.12, allocations: 207.1 kB / 4.495 GB, free: 196.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.091/15.21, allocations: 1.031 kB / 4.495 GB, free: 196.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat does not exist to compare? outputFormat=mat