Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",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.277/2.277, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001585/0.001585, allocations: 176.3 kB / 492.3 MB, free: 0.6133 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.832/1.832, allocations: 221.3 MB / 0.7872 GB, free: 12.91 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.001216/0.001216, allocations: 95.86 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.029e-05/4.042e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3051, allocations: 142.3 MB / 1.212 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.302/1.608, allocations: 424.4 MB / 1.627 GB, free: 5.988 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003794/1.608, allocations: 107.7 kB / 1.627 GB, free: 5.926 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.599/3.207, allocations: 368.9 MB / 1.987 GB, free: 217.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.184e-06/3.207, allocations: 3.984 kB / 1.987 GB, free: 217.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001855/3.207, allocations: 27.98 kB / 1.987 GB, free: 217.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003509/3.211, allocations: 1.434 MB / 1.989 GB, free: 215.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/3.211, allocations: 8.031 kB / 1.989 GB, free: 215.7 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003365/3.211, allocations: 106.5 kB / 1.989 GB, free: 215.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005984/3.212, allocations: 130.5 kB / 1.989 GB, free: 215.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/3.215, allocations: 1.179 MB / 1.99 GB, free: 214.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/3.215, allocations: 53.25 kB / 1.99 GB, free: 214.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/3.215, allocations: 72 kB / 1.99 GB, free: 214.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/3.216, allocations: 0.763 MB / 1.991 GB, free: 213.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/3.216, allocations: 3.953 kB / 1.991 GB, free: 213.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.072e-05/3.216, allocations: 32 kB / 1.991 GB, free: 213.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/3.216, allocations: 16 kB / 1.991 GB, free: 213.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/3.218, allocations: 0.5674 MB / 1.992 GB, free: 212.8 MB / 1.151 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.004688/3.222, allocations: 3.117 MB / 1.995 GB, free: 209.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000632/3.223, allocations: 431.6 kB / 1.995 GB, free: 209.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/3.223, allocations: 289 kB / 1.995 GB, free: 208.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006261/3.224, allocations: 0.7677 MB / 1.996 GB, free: 207.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/3.224, allocations: 34.84 kB / 1.996 GB, free: 207.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 2.926e-06/3.224, allocations: 0 / 1.996 GB, free: 207.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.001189/3.225, allocations: 0.7176 MB / 1.997 GB, free: 207.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.68e-05/3.225, allocations: 140.8 kB / 1.997 GB, free: 206.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/3.227, allocations: 0.9652 MB / 1.998 GB, free: 205.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-05/3.227, allocations: 41.64 kB / 1.998 GB, free: 205.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/3.227, allocations: 476.5 kB / 1.998 GB, free: 205.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/3.227, allocations: 130.2 kB / 1.999 GB, free: 205.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/3.227, allocations: 8 kB / 1.999 GB, free: 205.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.488e-05/3.227, allocations: 329.9 kB / 1.999 GB, free: 204.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/3.228, allocations: 312.9 kB / 1.999 GB, free: 204.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/3.228, allocations: 428.2 kB / 2 GB, free: 204.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/3.229, allocations: 0.5148 MB / 2 GB, free: 203.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/3.229, allocations: 7.953 kB / 2 GB, free: 203.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001345/3.23, allocations: 1.033 MB / 2.001 GB, free: 202.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002118/3.23, allocations: 0.8757 MB / 2.002 GB, free: 201.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/3.23, allocations: 0 / 2.002 GB, free: 201.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/3.23, allocations: 4 kB / 2.002 GB, free: 201.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/3.231, allocations: 87.89 kB / 2.002 GB, free: 201.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/3.231, allocations: 4 kB / 2.002 GB, free: 201.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008719/3.232, allocations: 107.3 kB / 2.002 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-05/3.232, allocations: 28 kB / 2.002 GB, free: 201.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/3.232, allocations: 8.875 kB / 2.002 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001145/3.233, allocations: 1.033 MB / 2.003 GB, free: 200.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/3.233, allocations: 4 kB / 2.003 GB, free: 200.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.153e-06/3.233, allocations: 4 kB / 2.003 GB, free: 200.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/3.233, allocations: 87.83 kB / 2.003 GB, free: 200.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/3.233, allocations: 4 kB / 2.003 GB, free: 200.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007727/3.234, allocations: 95.55 kB / 2.003 GB, free: 200.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.759e-05/3.234, allocations: 31.92 kB / 2.003 GB, free: 200 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002108/3.234, allocations: 231.2 kB / 2.004 GB, free: 199.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/3.235, allocations: 106.6 kB / 2.004 GB, free: 199.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/3.236, allocations: 0.87 MB / 2.005 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/3.236, allocations: 4 kB / 2.005 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/3.236, allocations: 4 kB / 2.005 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008005/3.237, allocations: 0.9522 MB / 2.006 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003128/3.24, allocations: 2.062 MB / 2.008 GB, free: 195.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/3.24, allocations: 0 / 2.008 GB, free: 195.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/3.24, allocations: 71.89 kB / 2.008 GB, free: 195.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.729e-06/3.24, allocations: 4 kB / 2.008 GB, free: 195.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.516e-05/3.24, allocations: 16 kB / 2.008 GB, free: 195.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/3.24, allocations: 12.19 kB / 2.008 GB, free: 195.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/3.24, allocations: 7.984 kB / 2.008 GB, free: 195.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/3.242, allocations: 1.465 MB / 2.009 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006132/3.243, allocations: 291.6 kB / 2.009 GB, free: 193.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/3.243, allocations: 19.95 kB / 2.009 GB, free: 193.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006523/3.244, allocations: 48.02 kB / 2.009 GB, free: 193.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/3.244, allocations: 43.95 kB / 2.009 GB, free: 193.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/3.244, allocations: 19.98 kB / 2.009 GB, free: 193.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001298/3.245, allocations: 0.7698 MB / 2.01 GB, free: 192.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.71e-07/3.245, allocations: 0 / 2.01 GB, free: 192.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002338/3.247, allocations: 0.5888 MB / 2.011 GB, free: 192.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.watFlo_mod.i,con.mod.temDif_mod.i,con.mod.airFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003706/3.251, allocations: 3.184 MB / 2.014 GB, free: 188.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00193/3.253, allocations: 1.895 MB / 2.016 GB, free: 186.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/3.253, allocations: 0 / 2.016 GB, free: 186.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004925/3.254, allocations: 0.5304 MB / 2.016 GB, free: 186.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/3.256, allocations: 0.5067 MB / 2.017 GB, free: 185.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004543/3.261, allocations: 1.805 MB / 2.019 GB, free: 183.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/3.262, allocations: 1.093 MB / 2.02 GB, free: 182.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001472/3.263, allocations: 303.7 kB / 2.02 GB, free: 182.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/3.264, allocations: 371.3 kB / 2.02 GB, free: 182 MB / 1.151 GB Notification: Performance of SimCode: time 1.092e-06/3.264, allocations: 0 / 2.02 GB, free: 182 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06725/3.331, allocations: 38.59 MB / 2.058 GB, free: 143.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/3.331, allocations: 209.3 kB / 2.058 GB, free: 143.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.455/6.786, allocations: 0 / 2.058 GB, free: 143.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat does not exist to compare? outputFormat=mat