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.001376/0.001376, allocations: 109.4 kB / 15.69 MB, free: 128 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.001244/0.001244, allocations: 185.4 kB / 16.62 MB, free: 6.582 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.44/1.44, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.623/1.623, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001387/0.001387, allocations: 72.62 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2072, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002765/0.21, allocations: 1.613 MB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.2114, allocations: 0.8986 MB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.333e-05/0.2115, allocations: 8 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.2115, allocations: 7.922 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.2117, allocations: 19.8 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.2121, allocations: 143.6 kB / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.2122, allocations: 75.66 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.622e-05/0.2123, allocations: 12 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.129e-05/0.2124, allocations: 35.84 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.2125, allocations: 39.84 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.2125, allocations: 7.938 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.2129, allocations: 279.6 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.2129, allocations: 11.98 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.213, allocations: 31.8 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.2132, allocations: 155.8 kB / 0.7869 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2132, allocations: 4 kB / 0.7869 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2132, allocations: 0 / 0.7869 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.2132, allocations: 0 / 0.7869 GB, free: 9.926 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.0005203/0.2137, allocations: 403.1 kB / 0.7873 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2138, allocations: 19.95 kB / 0.7873 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.2138, allocations: 34.75 kB / 0.7873 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.2139, allocations: 12.84 kB / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.2142, allocations: 188.2 kB / 0.7875 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.2142, allocations: 8.359 kB / 0.7875 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.2142, allocations: 7.938 kB / 0.7875 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.2144, allocations: 57.67 kB / 0.7876 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2144, allocations: 0 / 0.7876 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2144, allocations: 0 / 0.7876 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2144, allocations: 3.938 kB / 0.7876 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.2145, allocations: 43.97 kB / 0.7876 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.215, allocations: 304.7 kB / 0.7879 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.2151, allocations: 50.55 kB / 0.788 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.276e-05/0.2152, allocations: 28.97 kB / 0.788 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.2152, allocations: 8 kB / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.2152, allocations: 34.5 kB / 0.788 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.2152, allocations: 0 / 0.788 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003406/0.2156, allocations: 105.6 kB / 0.7881 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.2156, allocations: 51.41 kB / 0.7882 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.2157, allocations: 132.3 kB / 0.7883 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.2158, allocations: 29.7 kB / 0.7883 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.2158, allocations: 96.12 kB / 0.7884 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.2158, allocations: 15.75 kB / 0.7884 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.2159, allocations: 21.7 kB / 0.7885 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.216, allocations: 318.8 kB / 0.7888 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.407e-05/0.2161, allocations: 27.97 kB / 0.7888 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.45e-05/0.2161, allocations: 23.92 kB / 0.7888 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.2163, allocations: 56.83 kB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2163, allocations: 384 / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001997/0.2165, allocations: 89.58 kB / 0.789 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2165, allocations: 8 kB / 0.789 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2165, allocations: 0 / 0.789 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.2165, allocations: 3.938 kB / 0.789 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.2167, allocations: 19.98 kB / 0.789 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.2167, allocations: 0 / 0.789 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.23e-05/0.2167, allocations: 19.83 kB / 0.789 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.2168, allocations: 7.875 kB / 0.789 GB, free: 7.508 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 6.921e-05/0.2168, allocations: 114.5 kB / 0.7891 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.2169, allocations: 4 kB / 0.7891 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.2171, allocations: 97.86 kB / 0.7892 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2171, allocations: 0 / 0.7892 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.2171, allocations: 4 kB / 0.7892 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.2171, allocations: 7.938 kB / 0.7892 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.2173, allocations: 177.6 kB / 0.7894 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2173, allocations: 0 / 0.7894 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/0.2174, allocations: 19.92 kB / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2174, allocations: 0 / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2174, allocations: 4 kB / 0.7894 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2174, allocations: 0 / 0.7894 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2174, allocations: 0 / 0.7894 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.2177, allocations: 191.4 kB / 0.7896 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.2177, allocations: 85.02 kB / 0.7897 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.2177, allocations: 3.984 kB / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.2178, allocations: 4 kB / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.2179, allocations: 4 kB / 0.7897 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.2179, allocations: 8.109 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.874e-05/0.218, allocations: 102.1 kB / 0.7898 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.218, allocations: 0 / 0.7898 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002329/0.2182, allocations: 31.94 kB / 0.7898 GB, free: 6.566 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.0005338/0.2187, allocations: 0.7358 MB / 0.7905 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.219, allocations: 63.95 kB / 0.7906 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.219, allocations: 0 / 0.7906 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.803e-05/0.219, allocations: 27.92 kB / 0.7906 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.2193, allocations: 19.92 kB / 0.7907 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.2208, allocations: 1.452 MB / 0.7921 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.221, allocations: 0.6962 MB / 0.7928 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.685e-05/0.2211, allocations: 7.922 kB / 0.7928 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.2211, allocations: 27.42 kB / 0.7928 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of SimCode: time 1.713e-06/0.2212, allocations: 0 / 0.7928 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.2401, allocations: 2.288 MB / 0.795 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.116/7.356, allocations: 8 kB / 0.795 GB, free: 1.23 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)