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.001049/0.001049, allocations: 105.4 kB / 15.7 MB, free: 28 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.001331/0.001331, allocations: 193.9 kB / 16.64 MB, free: 6.453 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.335/1.335, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.672/1.672, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001359/0.00136, allocations: 84.39 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2068, allocations: 114.5 MB / 0.7837 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.0026/0.2095, allocations: 1.601 MB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001278/0.2096, allocations: 55.8 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.399e-05/0.2097, allocations: 4 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.456e-05/0.2098, allocations: 7.938 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.38e-05/0.2098, allocations: 11.86 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.104e-05/0.2099, allocations: 19.97 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.21, allocations: 71.72 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.2102, allocations: 20.16 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.909e-05/0.2102, allocations: 27.92 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.606e-05/0.2103, allocations: 31.84 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.2103, allocations: 8 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.2103, allocations: 4 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.2104, allocations: 15.98 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.2104, allocations: 31.8 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.2105, allocations: 67.94 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2105, allocations: 0 / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2106, allocations: 0 / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2106, allocations: 0 / 0.7856 GB, free: 11.21 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.0006108/0.2112, allocations: 399.2 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2112, allocations: 8.031 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.932e-05/0.2113, allocations: 38.75 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.2113, allocations: 12.84 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.2115, allocations: 168.2 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.2115, allocations: 4.375 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.2115, allocations: 8.125 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.2118, allocations: 101.5 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2118, allocations: 0 / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.2119, allocations: 7.984 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2119, allocations: 4 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.2123, allocations: 99.89 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.2127, allocations: 300.7 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.2131, allocations: 86.52 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.2133, allocations: 64.92 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.2133, allocations: 4 kB / 0.7868 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.2134, allocations: 34.56 kB / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.2134, allocations: 3.938 kB / 0.7869 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0007085/0.2141, allocations: 193.5 kB / 0.7871 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.2141, allocations: 51.41 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.313e-05/0.2142, allocations: 121.8 kB / 0.7872 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.2142, allocations: 25.7 kB / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.2143, allocations: 96.08 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.2143, allocations: 19.7 kB / 0.7874 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.2144, allocations: 17.72 kB / 0.7874 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.2145, allocations: 322.8 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.2147, allocations: 47.95 kB / 0.7877 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.2149, allocations: 51.94 kB / 0.7878 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.2153, allocations: 104.8 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2153, allocations: 0 / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004463/0.2157, allocations: 141.5 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2158, allocations: 4 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.2158, allocations: 0 / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2158, allocations: 7.984 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.2159, allocations: 24.41 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.216, allocations: 0 / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.2161, allocations: 31.83 kB / 0.7881 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.2161, allocations: 7.938 kB / 0.7881 GB, free: 8.422 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.574e-05/0.2162, allocations: 117.8 kB / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.2162, allocations: 0 / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.2162, allocations: 12.38 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2163, allocations: 0 / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2163, allocations: 0 / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2163, allocations: 0 / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.2165, allocations: 201.4 kB / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2165, allocations: 7.938 kB / 0.7884 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.2166, allocations: 23.97 kB / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2166, allocations: 0 / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.2166, allocations: 0 / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2166, allocations: 0 / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2166, allocations: 3.938 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000485/0.2171, allocations: 243.4 kB / 0.7887 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.2172, allocations: 85 kB / 0.7887 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.2172, allocations: 0 / 0.7887 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.2174, allocations: 23.97 kB / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.2174, allocations: 8 kB / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.2174, allocations: 0 / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.691e-05/0.2175, allocations: 95.2 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2175, allocations: 3.938 kB / 0.7889 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002158/0.2177, allocations: 16 kB / 0.7889 GB, free: 7.504 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.000746/0.2185, allocations: 0.7709 MB / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004612/0.2189, allocations: 115.8 kB / 0.7898 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2189, allocations: 0 / 0.7898 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.2192, allocations: 59.94 kB / 0.7898 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.2195, allocations: 12.38 kB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/0.22, allocations: 207.5 kB / 0.79 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.2202, allocations: 0.6923 MB / 0.7907 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.786e-05/0.2203, allocations: 0 / 0.7907 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.2203, allocations: 19.44 kB / 0.7907 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2203, allocations: 0 / 0.7907 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.2382, allocations: 2.157 MB / 0.7928 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.317/7.556, allocations: 6.656 kB / 0.7928 GB, free: 3.527 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-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)