Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.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.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",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.001097/0.001097, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001089/0.001089, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.164/1.164, allocations: 205.1 MB / 222 MB, free: 4.75 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.497/1.497, 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.001285/0.001285, allocations: 71.44 kB / 0.671 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2132, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002893/0.2162, allocations: 1.663 MB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001068/0.2163, allocations: 59.75 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.2163, allocations: 0 / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.7e-05/0.2164, allocations: 4 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.091e-05/0.2164, allocations: 11.86 kB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.463e-05/0.2165, allocations: 19.97 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.207e-05/0.2166, allocations: 63.78 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2167, allocations: 12.19 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.686e-05/0.2168, allocations: 31.84 kB / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.417e-05/0.2169, allocations: 31.91 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.2169, allocations: 4 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.2169, allocations: 4 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.2169, allocations: 15.92 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.217, allocations: 27.84 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.92e-05/0.2171, allocations: 60.02 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2171, allocations: 0 / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.02e-07/0.2171, allocations: 0 / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2171, allocations: 0 / 0.7848 GB, free: 11.87 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005667/0.2177, allocations: 391.3 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2177, allocations: 12.03 kB / 0.7851 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.2177, allocations: 30.75 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.2178, allocations: 12.83 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.2179, allocations: 184 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.2179, allocations: 4.375 kB / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.2179, allocations: 8.125 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.2182, allocations: 97.62 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.2182, allocations: 4 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.2182, allocations: 3.938 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2182, allocations: 0 / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000392/0.2186, allocations: 111.8 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.219, allocations: 304.7 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.2193, allocations: 86.52 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.2195, allocations: 64.92 kB / 0.786 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.2196, allocations: 96 / 0.786 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.2196, allocations: 34.5 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.2196, allocations: 4 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006341/0.2202, allocations: 189.4 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.2203, allocations: 51.41 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/0.2204, allocations: 121.8 kB / 0.7864 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.2204, allocations: 25.7 kB / 0.7864 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.2204, allocations: 96.08 kB / 0.7865 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.2205, allocations: 19.72 kB / 0.7865 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.2205, allocations: 21.7 kB / 0.7866 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/0.2206, allocations: 318.8 kB / 0.7869 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.2208, allocations: 47.94 kB / 0.7869 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.221, allocations: 60.94 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.2214, allocations: 104.8 kB / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2214, allocations: 0 / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004311/0.2218, allocations: 137.6 kB / 0.7872 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.2218, allocations: 4 kB / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.2218, allocations: 0 / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2219, allocations: 0 / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.222, allocations: 23.97 kB / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.222, allocations: 8 kB / 0.7872 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.2221, allocations: 23.81 kB / 0.7873 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.2221, allocations: 12.25 kB / 0.7873 GB, free: 9.07 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 7.13e-05/0.2222, allocations: 113.8 kB / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.2222, allocations: 4 kB / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.2223, allocations: 16.36 kB / 0.7874 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2223, allocations: 4 kB / 0.7874 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2223, allocations: 4 kB / 0.7874 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2223, allocations: 4 kB / 0.7874 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.2225, allocations: 185.5 kB / 0.7876 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.2225, allocations: 0 / 0.7876 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.2226, allocations: 23.97 kB / 0.7876 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2226, allocations: 4 kB / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.2226, allocations: 0 / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2227, allocations: 3.984 kB / 0.7876 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2227, allocations: 7.922 kB / 0.7876 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.2231, allocations: 239.3 kB / 0.7878 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.2232, allocations: 85.02 kB / 0.7879 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.2232, allocations: 3.984 kB / 0.7879 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.2233, allocations: 15.98 kB / 0.7879 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.2234, allocations: 11.98 kB / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.2234, allocations: 0 / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.454e-05/0.2235, allocations: 99.2 kB / 0.7881 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2235, allocations: 0 / 0.7881 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002084/0.2237, allocations: 12 kB / 0.7881 GB, free: 8.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.0007359/0.2244, allocations: 0.7709 MB / 0.7888 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000453/0.2249, allocations: 115.9 kB / 0.7889 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2249, allocations: 0 / 0.7889 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.2251, allocations: 51.95 kB / 0.789 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.2254, allocations: 23.16 kB / 0.789 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/0.2259, allocations: 221.3 kB / 0.7892 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.2261, allocations: 0.6848 MB / 0.7899 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.785e-05/0.2262, allocations: 11.89 kB / 0.7899 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.2263, allocations: 19.44 kB / 0.7899 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of SimCode: time 3.8e-07/0.2263, allocations: 0 / 0.7899 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4406/0.6669, allocations: 1.83 MB / 0.7917 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/0.6672, allocations: 233.3 kB / 0.7919 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.409, allocations: 3.875 kB / 0.7919 GB, free: 4.242 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1)