Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.001032/0.001032, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.322/1.322, allocations: 205.1 MB / 222 MB, free: 4.977 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.65/1.65, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001607/0.001607, allocations: 66.73 kB / 0.6709 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2021, allocations: 114.6 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002656/0.2048, allocations: 1.672 MB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.2061, allocations: 0.9289 MB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.2062, allocations: 4 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.2062, allocations: 3.938 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.2064, allocations: 19.84 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.2067, allocations: 103.7 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.2068, allocations: 67.78 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.52e-05/0.2069, allocations: 12 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.621e-05/0.207, allocations: 35.8 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.2071, allocations: 35.83 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.2071, allocations: 4 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003384/0.2074, allocations: 279.6 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.2075, allocations: 7.938 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.2075, allocations: 31.86 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.2077, allocations: 151.9 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2077, allocations: 0 / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2077, allocations: 0 / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2077, allocations: 3.938 kB / 0.7861 GB, free: 10.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000532/0.2083, allocations: 403.2 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2083, allocations: 8.031 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.2084, allocations: 34.75 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.2085, allocations: 20.83 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.2087, allocations: 196.8 kB / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.2087, allocations: 384 / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.2087, allocations: 7.938 kB / 0.7867 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.2089, allocations: 61.66 kB / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.2089, allocations: 3.938 kB / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2089, allocations: 0 / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2089, allocations: 0 / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.2091, allocations: 43.97 kB / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.2096, allocations: 300.8 kB / 0.7871 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.2097, allocations: 50.56 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.968e-05/0.2098, allocations: 32.97 kB / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.2098, allocations: 0 / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.2099, allocations: 34.56 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.2099, allocations: 0 / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.000372/0.2102, allocations: 109.5 kB / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.2103, allocations: 51.41 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.2104, allocations: 136.5 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.2104, allocations: 25.7 kB / 0.7875 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.2105, allocations: 92.14 kB / 0.7876 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.2105, allocations: 31.7 kB / 0.7876 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.2106, allocations: 17.72 kB / 0.7877 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2107, allocations: 322.8 kB / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.2108, allocations: 19.98 kB / 0.788 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.684e-05/0.2108, allocations: 27.98 kB / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.211, allocations: 49.2 kB / 0.7881 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.211, allocations: 4 kB / 0.7881 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002179/0.2112, allocations: 97.59 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2112, allocations: 7.938 kB / 0.7882 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2112, allocations: 0 / 0.7882 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2113, allocations: 3.984 kB / 0.7882 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.2114, allocations: 19.98 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2114, allocations: 3.984 kB / 0.7882 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.2115, allocations: 11.84 kB / 0.7882 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.2115, allocations: 0 / 0.7882 GB, free: 8.113 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.263e-05/0.2116, allocations: 118.5 kB / 0.7883 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.2116, allocations: 7.906 kB / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.2118, allocations: 97.91 kB / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2119, allocations: 8 kB / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2119, allocations: 0 / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2119, allocations: 7.922 kB / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.2121, allocations: 177.6 kB / 0.7886 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2121, allocations: 0 / 0.7886 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.501e-05/0.2122, allocations: 15.98 kB / 0.7886 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2122, allocations: 0 / 0.7886 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.2122, allocations: 0 / 0.7886 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2122, allocations: 0 / 0.7886 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2122, allocations: 7.938 kB / 0.7886 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.2124, allocations: 195.3 kB / 0.7888 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.2125, allocations: 81.02 kB / 0.7889 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.2125, allocations: 4 kB / 0.7889 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.319e-05/0.2126, allocations: 0 / 0.7889 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.2126, allocations: 8.172 kB / 0.7889 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.2127, allocations: 7.938 kB / 0.7889 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.618e-05/0.2127, allocations: 107.3 kB / 0.789 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2127, allocations: 0 / 0.789 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002446/0.213, allocations: 27.98 kB / 0.789 GB, free: 7.156 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0005803/0.2136, allocations: 0.728 MB / 0.7897 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001908/0.2138, allocations: 55.97 kB / 0.7898 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2138, allocations: 0 / 0.7898 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.012e-05/0.2139, allocations: 31.97 kB / 0.7898 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.2142, allocations: 22.16 kB / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.2157, allocations: 1.469 MB / 0.7913 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.216, allocations: 0.6887 MB / 0.792 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.056e-05/0.2161, allocations: 8 kB / 0.792 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.2161, allocations: 23.42 kB / 0.792 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2161, allocations: 0 / 0.792 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.203/1.419, allocations: 2.095 MB / 0.794 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/1.419, allocations: 220.9 kB / 0.7942 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/3.211, allocations: 0 / 0.7942 GB, free: 1.777 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)