Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.293/1.293, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008999/0.0009, allocations: 165.8 kB / 325.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205 MB / 0.576 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007565/0.0007566, allocations: 90.25 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004052, allocations: 15.88 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1926, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.001764/0.1944, allocations: 1.89 MB / 0.8981 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1957, allocations: 1.065 MB / 0.8991 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.347e-05/0.1958, allocations: 0 / 0.8991 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.304e-05/0.1959, allocations: 19.73 kB / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.1961, allocations: 75.41 kB / 0.8992 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.1964, allocations: 135.8 kB / 0.8993 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.1966, allocations: 282.8 kB / 0.8996 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.1967, allocations: 60.7 kB / 0.8996 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.364e-05/0.1968, allocations: 91.52 kB / 0.8997 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.197, allocations: 131.3 kB / 0.8999 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.197, allocations: 8 kB / 0.8999 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002934/0.1973, allocations: 287.6 kB / 0.9001 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.1974, allocations: 31.78 kB / 0.9002 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.1974, allocations: 107.3 kB / 0.9003 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.1977, allocations: 306.9 kB / 0.9006 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1977, allocations: 8 kB / 0.9006 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1977, allocations: 0 / 0.9006 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.1977, allocations: 0 / 0.9006 GB, free: 63.59 MB / 0.6042 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.0007985/0.1985, allocations: 0.6001 MB / 0.9012 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1986, allocations: 12.03 kB / 0.9012 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.1986, allocations: 54.67 kB / 0.9012 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.1988, allocations: 40.55 kB / 0.9013 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.199, allocations: 271.5 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1991, allocations: 12.66 kB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.1991, allocations: 12.38 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.1995, allocations: 260.4 kB / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1995, allocations: 0 / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.1996, allocations: 8 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.1996, allocations: 4 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005864/0.2002, allocations: 239.8 kB / 0.902 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008625/0.201, allocations: 0.9539 MB / 0.903 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006676/0.2017, allocations: 261.2 kB / 0.9032 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.202, allocations: 129.6 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.202, allocations: 8 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.2021, allocations: 38.5 kB / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.2021, allocations: 0 / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.001021/0.2031, allocations: 405.7 kB / 0.9038 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.2031, allocations: 85.05 kB / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.2033, allocations: 262.9 kB / 0.9041 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.2034, allocations: 29.7 kB / 0.9041 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.2034, allocations: 160.2 kB / 0.9043 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.2035, allocations: 59.14 kB / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.2035, allocations: 25.7 kB / 0.9044 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.761e-05/0.2036, allocations: 338.8 kB / 0.9047 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.2039, allocations: 107.9 kB / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.2042, allocations: 166.7 kB / 0.9049 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006521/0.2048, allocations: 285.7 kB / 0.9052 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2048, allocations: 0 / 0.9052 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007283/0.2056, allocations: 337 kB / 0.9055 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2056, allocations: 6.656 kB / 0.9055 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2056, allocations: 4 kB / 0.9055 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.2056, allocations: 0 / 0.9055 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.2059, allocations: 72.08 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2059, allocations: 3.938 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.2062, allocations: 59.7 kB / 0.9057 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.2062, allocations: 12 kB / 0.9057 GB, free: 58.02 MB / 0.6042 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 8.158e-05/0.2063, allocations: 129.8 kB / 0.9058 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.47e-05/0.2064, allocations: 27.66 kB / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007072/0.2071, allocations: 335.3 kB / 0.9062 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2071, allocations: 4 kB / 0.9062 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2071, allocations: 4 kB / 0.9062 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.2071, allocations: 3.984 kB / 0.9062 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.2074, allocations: 301.3 kB / 0.9065 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2074, allocations: 0 / 0.9065 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.2076, allocations: 63.89 kB / 0.9065 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2076, allocations: 4 kB / 0.9065 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.2077, allocations: 8 kB / 0.9065 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2077, allocations: 0 / 0.9065 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2077, allocations: 4.469 kB / 0.9065 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007063/0.2084, allocations: 488.8 kB / 0.907 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.2084, allocations: 108.7 kB / 0.9071 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.2085, allocations: 0 / 0.9071 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.2087, allocations: 43.95 kB / 0.9071 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.2088, allocations: 15.98 kB / 0.9072 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.2088, allocations: 4 kB / 0.9072 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001219/0.209, allocations: 190 kB / 0.9073 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/0.209, allocations: 0 / 0.9073 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003139/0.2093, allocations: 60.23 kB / 0.9074 GB, free: 56.16 MB / 0.6042 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.0009152/0.2102, allocations: 1.035 MB / 0.9084 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006375/0.2109, allocations: 272 kB / 0.9087 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2109, allocations: 0 / 0.9087 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.2112, allocations: 144.3 kB / 0.9088 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000536/0.2117, allocations: 68.97 kB / 0.9089 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.215, allocations: 2.886 MB / 0.9117 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.2151, allocations: 0.7518 MB / 0.9124 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001492/0.2153, allocations: 38.25 kB / 0.9125 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.2154, allocations: 83.41 kB / 0.9125 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/0.2154, allocations: 0 / 0.9125 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1413/0.3567, allocations: 5.895 MB / 0.9183 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.357, allocations: 230.2 kB / 0.9185 GB, free: 44.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.343, allocations: 0 / 0.9185 GB, free: 44.8 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)