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.001224/0.001224, allocations: 105.4 kB / 15.7 MB, free: 24 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.001319/0.00132, allocations: 197.5 kB / 16.64 MB, free: 6.445 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.349/1.349, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.611/1.611, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.00137/0.00137, allocations: 73.81 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1951, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003163/0.1983, allocations: 2.165 MB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.1999, allocations: 1.027 MB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.2001, allocations: 4 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.439e-05/0.2002, allocations: 23.67 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.2005, allocations: 87.22 kB / 0.7869 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.201, allocations: 187.6 kB / 0.787 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.2013, allocations: 298.8 kB / 0.7873 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.2015, allocations: 68.91 kB / 0.7874 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.2016, allocations: 111.5 kB / 0.7875 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.2019, allocations: 143.4 kB / 0.7876 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.2019, allocations: 20 kB / 0.7877 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000375/0.2023, allocations: 295.7 kB / 0.7879 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.379e-05/0.2024, allocations: 47.83 kB / 0.788 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.959e-05/0.2025, allocations: 119.3 kB / 0.7881 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.2028, allocations: 334.8 kB / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2029, allocations: 0 / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2029, allocations: 0 / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2029, allocations: 0 / 0.7884 GB, free: 8.332 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.001028/0.2039, allocations: 0.6271 MB / 0.789 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.204, allocations: 11.97 kB / 0.789 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/0.204, allocations: 50.73 kB / 0.7891 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.2042, allocations: 40.56 kB / 0.7891 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.2046, allocations: 283.5 kB / 0.7894 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.2046, allocations: 8.656 kB / 0.7894 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.2047, allocations: 19.94 kB / 0.7894 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.2052, allocations: 232.2 kB / 0.7896 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2052, allocations: 0 / 0.7896 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.2052, allocations: 4 kB / 0.7896 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.2052, allocations: 7.984 kB / 0.7897 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006336/0.2059, allocations: 199.8 kB / 0.7898 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.2069, allocations: 0.9383 MB / 0.7908 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007472/0.2077, allocations: 245.3 kB / 0.791 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.208, allocations: 105.8 kB / 0.7911 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.2081, allocations: 0 / 0.7911 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.2081, allocations: 38.5 kB / 0.7911 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.2081, allocations: 4 kB / 0.7911 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0011/0.2092, allocations: 341.4 kB / 0.7915 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.2093, allocations: 81.05 kB / 0.7915 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.2095, allocations: 270.9 kB / 0.7918 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.2096, allocations: 33.64 kB / 0.7918 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.2097, allocations: 160.2 kB / 0.792 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.2097, allocations: 47.2 kB / 0.792 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.987e-05/0.2098, allocations: 45.7 kB / 0.7921 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.2099, allocations: 330.8 kB / 0.7924 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.2102, allocations: 99.91 kB / 0.7925 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.2105, allocations: 141 kB / 0.7926 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006329/0.2112, allocations: 245.7 kB / 0.7929 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2112, allocations: 0 / 0.7929 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007804/0.212, allocations: 289 kB / 0.7931 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.212, allocations: 8 kB / 0.7931 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.212, allocations: 0 / 0.7931 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.212, allocations: 4 kB / 0.7931 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.2123, allocations: 68.09 kB / 0.7932 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2123, allocations: 3.938 kB / 0.7932 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.2125, allocations: 43.72 kB / 0.7932 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.2126, allocations: 7.984 kB / 0.7933 GB, free: 3.043 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.0001179/0.2127, allocations: 136.6 kB / 0.7934 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.2128, allocations: 23.72 kB / 0.7934 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007819/0.2136, allocations: 291.1 kB / 0.7937 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2136, allocations: 0 / 0.7937 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2136, allocations: 8 kB / 0.7937 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.2136, allocations: 4 kB / 0.7937 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.214, allocations: 293.3 kB / 0.794 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.214, allocations: 0 / 0.794 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.2143, allocations: 59.89 kB / 0.794 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.2143, allocations: 0 / 0.794 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.2143, allocations: 11.98 kB / 0.794 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2143, allocations: 0 / 0.794 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2143, allocations: 480 / 0.794 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008236/0.2151, allocations: 442.1 kB / 0.7945 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.2152, allocations: 108.8 kB / 0.7946 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.2153, allocations: 8.281 kB / 0.7946 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.2155, allocations: 23.97 kB / 0.7946 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.2156, allocations: 19.97 kB / 0.7946 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.2156, allocations: 7.938 kB / 0.7946 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001611/0.2158, allocations: 193.9 kB / 0.7948 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2158, allocations: 0 / 0.7948 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003449/0.2161, allocations: 60.25 kB / 0.7949 GB, free: 1.285 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.001097/0.2172, allocations: 0.9872 MB / 0.7958 GB, free: 280 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007042/0.218, allocations: 227.9 kB / 0.7961 GB, free: 52 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.218, allocations: 0 / 0.7961 GB, free: 52 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.2183, allocations: 123.8 kB / 0.7962 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005389/0.2189, allocations: 80.03 kB / 0.7962 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/0.2226, allocations: 2.704 MB / 0.7989 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.2229, allocations: 0.748 MB / 0.7996 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001476/0.2231, allocations: 34.28 kB / 0.7997 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.2232, allocations: 87.41 kB / 0.7997 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of SimCode: time 7.91e-07/0.2232, allocations: 0 / 0.7997 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.2449, allocations: 6.483 MB / 0.8061 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.312, allocations: 11.77 kB / 0.8061 GB, free: 5.824 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)