Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.571/1.571, allocations: 292.3 MB / 0.5489 GB, free: 13.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 68.81 kB / 0.6716 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1891, allocations: 114.5 MB / 0.7835 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002986/0.1921, allocations: 2.143 MB / 0.7856 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.1935, allocations: 1.039 MB / 0.7866 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.1936, allocations: 11.88 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.227e-05/0.1936, allocations: 27.66 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.1939, allocations: 75.3 kB / 0.7867 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.1943, allocations: 195.5 kB / 0.7869 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.1945, allocations: 286.8 kB / 0.7872 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.1947, allocations: 68.92 kB / 0.7872 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1948, allocations: 103.6 kB / 0.7873 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.195, allocations: 139.4 kB / 0.7875 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.195, allocations: 19.94 kB / 0.7875 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003564/0.1954, allocations: 303.6 kB / 0.7878 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.1954, allocations: 47.78 kB / 0.7878 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.553e-05/0.1955, allocations: 119.3 kB / 0.7879 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.1959, allocations: 330.9 kB / 0.7882 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1959, allocations: 0 / 0.7882 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1959, allocations: 0 / 0.7882 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.1959, allocations: 0 / 0.7882 GB, free: 8.566 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000967/0.1969, allocations: 0.6232 MB / 0.7889 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.1969, allocations: 8.031 kB / 0.7889 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.288e-05/0.1969, allocations: 54.72 kB / 0.7889 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.1971, allocations: 32.56 kB / 0.7889 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.1974, allocations: 283.5 kB / 0.7892 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1974, allocations: 8.656 kB / 0.7892 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.1975, allocations: 27.94 kB / 0.7892 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.198, allocations: 228.2 kB / 0.7895 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.198, allocations: 0 / 0.7895 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.198, allocations: 8 kB / 0.7895 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.198, allocations: 4 kB / 0.7895 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006291/0.1986, allocations: 195.8 kB / 0.7897 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009785/0.1996, allocations: 0.9383 MB / 0.7906 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007077/0.2003, allocations: 245.2 kB / 0.7908 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/0.2007, allocations: 109.6 kB / 0.7909 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.2007, allocations: 0 / 0.7909 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.2007, allocations: 38.5 kB / 0.791 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.2007, allocations: 0 / 0.791 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001092/0.2018, allocations: 337.9 kB / 0.7913 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.2019, allocations: 85.03 kB / 0.7914 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.2021, allocations: 270.9 kB / 0.7916 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.2022, allocations: 33.7 kB / 0.7916 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/0.2023, allocations: 156.2 kB / 0.7918 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.2023, allocations: 59.19 kB / 0.7919 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/0.2024, allocations: 37.7 kB / 0.7919 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2025, allocations: 338.8 kB / 0.7922 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.2028, allocations: 87.86 kB / 0.7923 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.2032, allocations: 145 kB / 0.7924 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006293/0.2038, allocations: 253.7 kB / 0.7927 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2038, allocations: 0 / 0.7927 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007759/0.2046, allocations: 289.1 kB / 0.793 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2046, allocations: 4 kB / 0.793 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2046, allocations: 4 kB / 0.793 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.2046, allocations: 0 / 0.793 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.2049, allocations: 59.95 kB / 0.793 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.2049, allocations: 11.92 kB / 0.793 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.2051, allocations: 39.84 kB / 0.7931 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.2052, allocations: 12 kB / 0.7931 GB, free: 3.285 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.2053, allocations: 129.8 kB / 0.7932 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.2054, allocations: 23.72 kB / 0.7932 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007866/0.2062, allocations: 287.3 kB / 0.7935 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2062, allocations: 4 kB / 0.7935 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2062, allocations: 96 / 0.7935 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2062, allocations: 7.922 kB / 0.7935 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.2066, allocations: 297.3 kB / 0.7938 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2066, allocations: 0 / 0.7938 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.2068, allocations: 63.89 kB / 0.7939 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2068, allocations: 0 / 0.7939 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.2069, allocations: 8 kB / 0.7939 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2069, allocations: 0 / 0.7939 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2069, allocations: 0 / 0.7939 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007845/0.2077, allocations: 456.7 kB / 0.7943 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.2077, allocations: 104.8 kB / 0.7944 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.2078, allocations: 0 / 0.7944 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.208, allocations: 35.89 kB / 0.7944 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.2081, allocations: 15.98 kB / 0.7944 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.2081, allocations: 8 kB / 0.7945 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001514/0.2083, allocations: 186 kB / 0.7946 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2083, allocations: 4 kB / 0.7946 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003239/0.2086, allocations: 56.25 kB / 0.7947 GB, free: 1.531 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/0.2097, allocations: 0.9884 MB / 0.7957 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007189/0.2104, allocations: 239.6 kB / 0.7959 GB, free: 288 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2104, allocations: 0 / 0.7959 GB, free: 288 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000341/0.2108, allocations: 116.2 kB / 0.796 GB, free: 172 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005691/0.2114, allocations: 81.7 kB / 0.7961 GB, free: 92 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/0.2151, allocations: 2.718 MB / 0.7987 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.2154, allocations: 0.748 MB / 0.7995 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.2155, allocations: 30.28 kB / 0.7995 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.2157, allocations: 87.41 kB / 0.7996 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2157, allocations: 0 / 0.7996 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.969/2.185, allocations: 6.469 MB / 0.8059 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.06/19.24, allocations: 22.73 kB / 0.8059 GB, free: 6.047 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)