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.001184/0.001184, allocations: 108 kB / 15.6 MB, free: 132 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.001323/0.001323, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.384/1.384, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.691/1.691, allocations: 292.3 MB / 0.5489 GB, free: 12.78 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.001408/0.001408, allocations: 72.3 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2055, allocations: 114.6 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.003592/0.2091, allocations: 1.598 MB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001525/0.2093, allocations: 55.8 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/0.2093, allocations: 0 / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.707e-05/0.2094, allocations: 3.938 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.384e-05/0.2095, allocations: 19.81 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001049/0.2096, allocations: 19.97 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.2097, allocations: 67.84 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.2099, allocations: 24.14 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.715e-05/0.2099, allocations: 27.86 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.983e-05/0.21, allocations: 31.84 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.21, allocations: 8 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.44e-05/0.2101, allocations: 8 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.106e-05/0.2101, allocations: 19.92 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.214e-05/0.2102, allocations: 27.86 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.2103, allocations: 64 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2103, allocations: 0 / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2103, allocations: 0 / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.2103, allocations: 0 / 0.7854 GB, free: 11.35 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.0006756/0.211, allocations: 399.2 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.2111, allocations: 8.031 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.2111, allocations: 30.75 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.2111, allocations: 8.844 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.2113, allocations: 176.2 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.2113, allocations: 8.312 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.2113, allocations: 4.125 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.2116, allocations: 105.5 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2117, allocations: 0 / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2117, allocations: 3.938 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.2117, allocations: 0 / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004375/0.2121, allocations: 99.89 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.2125, allocations: 308.7 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.2129, allocations: 86.52 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.2131, allocations: 64.92 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.2131, allocations: 0 / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.2132, allocations: 34.56 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.2132, allocations: 0 / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0007494/0.2139, allocations: 193.5 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.214, allocations: 59.39 kB / 0.7869 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.482e-05/0.2141, allocations: 117.8 kB / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.2141, allocations: 29.7 kB / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.2141, allocations: 88.08 kB / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.2142, allocations: 27.7 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.2142, allocations: 17.72 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.2144, allocations: 322.8 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.2146, allocations: 43.95 kB / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.2148, allocations: 55.94 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/0.2153, allocations: 105.1 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2153, allocations: 4 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004444/0.2158, allocations: 141.5 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.2158, allocations: 7.984 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2158, allocations: 0 / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2159, allocations: 0 / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.216, allocations: 27.97 kB / 0.7879 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.216, allocations: 0 / 0.7879 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.2162, allocations: 23.83 kB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.2162, allocations: 11.94 kB / 0.7879 GB, free: 8.559 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.045e-05/0.2162, allocations: 113.8 kB / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.2163, allocations: 4 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.2163, allocations: 16.38 kB / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2163, allocations: 0 / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2163, allocations: 0 / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2163, allocations: 0 / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.2165, allocations: 193.5 kB / 0.7882 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2165, allocations: 4 kB / 0.7882 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.2167, allocations: 31.91 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.2167, allocations: 0 / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.2167, allocations: 0 / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2167, allocations: 0 / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2167, allocations: 3.938 kB / 0.7883 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004794/0.2172, allocations: 239.4 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.2172, allocations: 85.02 kB / 0.7886 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.2173, allocations: 3.984 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.2174, allocations: 19.97 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.2174, allocations: 4 kB / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.2175, allocations: 12.11 kB / 0.7886 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.884e-05/0.2175, allocations: 91.22 kB / 0.7887 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2175, allocations: 0 / 0.7887 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002183/0.2177, allocations: 16 kB / 0.7887 GB, free: 7.645 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.0008514/0.2186, allocations: 0.7787 MB / 0.7895 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004581/0.2191, allocations: 115.8 kB / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2191, allocations: 0 / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.2193, allocations: 59.94 kB / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.2196, allocations: 8 kB / 0.7896 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005275/0.2202, allocations: 207.5 kB / 0.7898 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.2204, allocations: 0.6923 MB / 0.7905 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.823e-05/0.2205, allocations: 0 / 0.7905 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.2205, allocations: 26.5 kB / 0.7905 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2205, allocations: 4 kB / 0.7906 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.238, allocations: 2.133 MB / 0.7926 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/7.837, allocations: 7.688 kB / 0.7926 GB, free: 3.668 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)