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.00111/0.00111, 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.001081/0.001082, allocations: 186.6 kB / 16.62 MB, free: 6.613 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.41/1.41, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.615/1.615, 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.00137/0.001371, allocations: 72.34 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2061, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002488/0.2086, allocations: 1.616 MB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.2099, allocations: 0.9026 MB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.431e-05/0.2099, allocations: 4 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.21, allocations: 7.875 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.2102, allocations: 27.78 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.2105, allocations: 135.7 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.2106, allocations: 71.66 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.591e-05/0.2107, allocations: 19.97 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.129e-05/0.2108, allocations: 35.8 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.2109, allocations: 39.84 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.211, allocations: 4 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000336/0.2113, allocations: 283.6 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.2113, allocations: 11.98 kB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.2114, allocations: 31.8 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.2116, allocations: 147.9 kB / 0.7869 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2116, allocations: 3.984 kB / 0.7869 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2116, allocations: 0 / 0.7869 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2116, allocations: 0 / 0.7869 GB, free: 9.918 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.0004988/0.2121, allocations: 411.1 kB / 0.7873 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2122, allocations: 12.03 kB / 0.7873 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.2122, allocations: 30.75 kB / 0.7873 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.2123, allocations: 16.83 kB / 0.7873 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.2125, allocations: 189.1 kB / 0.7875 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-06/0.2125, allocations: 384 / 0.7875 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.2126, allocations: 11.94 kB / 0.7875 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.2127, allocations: 73.58 kB / 0.7876 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2127, allocations: 0 / 0.7876 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.2127, allocations: 0 / 0.7876 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2128, allocations: 0 / 0.7876 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.2129, allocations: 39.97 kB / 0.7876 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.2133, allocations: 304.7 kB / 0.7879 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.2134, allocations: 50.56 kB / 0.788 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.489e-05/0.2135, allocations: 32.95 kB / 0.788 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.2135, allocations: 0 / 0.788 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2136, allocations: 34.56 kB / 0.788 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.2136, allocations: 0 / 0.788 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003412/0.2139, allocations: 117.5 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.214, allocations: 51.41 kB / 0.7882 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.328e-05/0.2141, allocations: 128.5 kB / 0.7883 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.2141, allocations: 29.7 kB / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.2141, allocations: 96.12 kB / 0.7884 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.2142, allocations: 11.75 kB / 0.7884 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.2142, allocations: 21.72 kB / 0.7885 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.733e-05/0.2143, allocations: 326.8 kB / 0.7888 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.381e-05/0.2144, allocations: 19.98 kB / 0.7888 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.367e-05/0.2144, allocations: 24.36 kB / 0.7888 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.2146, allocations: 56.83 kB / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2146, allocations: 0 / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001962/0.2148, allocations: 97.5 kB / 0.789 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2148, allocations: 8 kB / 0.789 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2148, allocations: 0 / 0.789 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2148, allocations: 0 / 0.789 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.2149, allocations: 15.98 kB / 0.789 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.215, allocations: 3.938 kB / 0.789 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.823e-05/0.215, allocations: 11.84 kB / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.215, allocations: 7.984 kB / 0.789 GB, free: 7.5 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.412e-05/0.2151, allocations: 113.8 kB / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.2152, allocations: 8 kB / 0.7891 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.2154, allocations: 97.81 kB / 0.7892 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2154, allocations: 3.984 kB / 0.7892 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2154, allocations: 0 / 0.7892 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2154, allocations: 7.938 kB / 0.7892 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.2156, allocations: 181.7 kB / 0.7894 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2156, allocations: 0 / 0.7894 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.963e-05/0.2157, allocations: 19.98 kB / 0.7894 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2157, allocations: 0 / 0.7894 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.2157, allocations: 0 / 0.7894 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2157, allocations: 3.938 kB / 0.7894 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2157, allocations: 0 / 0.7894 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.216, allocations: 199.4 kB / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.216, allocations: 81.02 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.216, allocations: 4 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.2161, allocations: 11.98 kB / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.2162, allocations: 4 kB / 0.7897 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.2162, allocations: 3.938 kB / 0.7897 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.454e-05/0.2162, allocations: 102.2 kB / 0.7898 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2162, allocations: 0 / 0.7898 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002292/0.2165, allocations: 31.92 kB / 0.7898 GB, free: 6.543 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.000511/0.217, allocations: 0.7241 MB / 0.7906 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.2172, allocations: 59.91 kB / 0.7906 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2172, allocations: 0 / 0.7906 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.2173, allocations: 31.97 kB / 0.7906 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.2176, allocations: 19.94 kB / 0.7907 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.219, allocations: 1.447 MB / 0.7921 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.2192, allocations: 0.6923 MB / 0.7928 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.559e-05/0.2192, allocations: 7.984 kB / 0.7928 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.2193, allocations: 31.31 kB / 0.7928 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2193, allocations: 0 / 0.7928 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.2358, allocations: 2.285 MB / 0.795 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.388/7.623, allocations: 10.62 kB / 0.795 GB, free: 1.219 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)