Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.292/1.292, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0008505/0.0008505, allocations: 176.4 kB / 325.9 MB, free: 2.719 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.398/1.398, allocations: 205 MB / 0.576 GB, free: 20.98 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.0007155/0.0007156, allocations: 88.44 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003149, allocations: 8.844 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2058, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00166/0.2075, allocations: 1.344 MB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2087, allocations: 0.9373 MB / 0.8984 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.2088, allocations: 11.88 kB / 0.8985 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.522e-05/0.2088, allocations: 0 / 0.8985 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.209, allocations: 15.86 kB / 0.8985 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.2093, allocations: 99.75 kB / 0.8986 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.2094, allocations: 79.66 kB / 0.8986 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.139e-05/0.2095, allocations: 11.98 kB / 0.8987 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.514e-05/0.2095, allocations: 23.92 kB / 0.8987 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.2097, allocations: 39.83 kB / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.2097, allocations: 0 / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.21, allocations: 279.6 kB / 0.899 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.21, allocations: 11.92 kB / 0.899 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.21, allocations: 19.88 kB / 0.899 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.2102, allocations: 147.6 kB / 0.8992 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2102, allocations: 4 kB / 0.8992 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2102, allocations: 0 / 0.8992 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.2102, allocations: 0 / 0.8992 GB, free: 65.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004544/0.2107, allocations: 395.3 kB / 0.8995 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.2108, allocations: 16.02 kB / 0.8996 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.893e-05/0.2108, allocations: 34.75 kB / 0.8996 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.892e-05/0.2109, allocations: 16.84 kB / 0.8996 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.211, allocations: 180.2 kB / 0.8998 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.2111, allocations: 8.375 kB / 0.8998 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.2111, allocations: 384 / 0.8998 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.2112, allocations: 69.78 kB / 0.8998 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2113, allocations: 3.938 kB / 0.8999 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.2113, allocations: 4 kB / 0.8999 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2113, allocations: 0 / 0.8999 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.2114, allocations: 51.97 kB / 0.8999 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.2118, allocations: 304.7 kB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.2119, allocations: 54.56 kB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.423e-05/0.212, allocations: 36.95 kB / 0.9003 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.212, allocations: 7.938 kB / 0.9003 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.2121, allocations: 34.56 kB / 0.9003 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.2121, allocations: 0 / 0.9003 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0003359/0.2124, allocations: 113.6 kB / 0.9004 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.2124, allocations: 51.41 kB / 0.9005 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.225e-05/0.2125, allocations: 136.6 kB / 0.9006 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.2125, allocations: 25.7 kB / 0.9006 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.2126, allocations: 100.2 kB / 0.9007 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.2126, allocations: 19.75 kB / 0.9007 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.2126, allocations: 9.719 kB / 0.9008 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.272e-05/0.2127, allocations: 326.8 kB / 0.9011 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.39e-05/0.2128, allocations: 31.86 kB / 0.9011 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-05/0.2128, allocations: 31.92 kB / 0.9011 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.213, allocations: 69.2 kB / 0.9012 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.213, allocations: 0 / 0.9012 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001842/0.2132, allocations: 101.6 kB / 0.9013 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2132, allocations: 4 kB / 0.9013 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2132, allocations: 0 / 0.9013 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2132, allocations: 0 / 0.9013 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.2133, allocations: 15.98 kB / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2133, allocations: 3.938 kB / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.2134, allocations: 12 kB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.2134, allocations: 0 / 0.9013 GB, free: 62.62 MB / 0.6042 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 5.707e-05/0.2135, allocations: 121.8 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.2135, allocations: 7.906 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.2138, allocations: 106 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.2138, allocations: 0 / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2138, allocations: 4 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2138, allocations: 3.984 kB / 0.9016 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.2139, allocations: 185.5 kB / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2139, allocations: 0 / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8e-05/0.214, allocations: 19.92 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.214, allocations: 0 / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.214, allocations: 4 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.214, allocations: 0 / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.214, allocations: 4 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.2143, allocations: 191.5 kB / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.2143, allocations: 88.95 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.2143, allocations: 192 / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.2144, allocations: 16 kB / 0.902 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.2144, allocations: 7.984 kB / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.2144, allocations: 0 / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.2145, allocations: 99.17 kB / 0.9021 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2145, allocations: 0 / 0.9021 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000235/0.2147, allocations: 31.98 kB / 0.9022 GB, free: 61.64 MB / 0.6042 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.0004472/0.2152, allocations: 0.7396 MB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.2154, allocations: 67.91 kB / 0.903 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2154, allocations: 0 / 0.903 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.2155, allocations: 39.91 kB / 0.903 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.2158, allocations: 11.94 kB / 0.903 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.2172, allocations: 1.49 MB / 0.9045 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.2173, allocations: 0.6887 MB / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.932e-05/0.2174, allocations: 4 kB / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.2174, allocations: 27.42 kB / 0.9052 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of SimCode: time 7.51e-07/0.2174, allocations: 0 / 0.9052 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08636/0.3038, allocations: 2.024 MB / 0.9071 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.304, allocations: 229.8 kB / 0.9074 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/1.986, allocations: 0 / 0.9074 GB, free: 56.35 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)