Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.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.Condensation,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation",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.001649/0.001649, 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.001584/0.001584, allocations: 194.6 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.576/1.576, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.785/1.785, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001433/0.001433, allocations: 69.48 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2229, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation): time 0.002889/0.2259, allocations: 1.523 MB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002585/0.2262, allocations: 151.5 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.2262, allocations: 4 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.2262, allocations: 3.938 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.348e-05/0.2263, allocations: 11.86 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.482e-05/0.2264, allocations: 7.984 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.951e-05/0.2265, allocations: 47.86 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2266, allocations: 7.984 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.719e-05/0.2267, allocations: 23.94 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.533e-05/0.2267, allocations: 23.91 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2268, allocations: 4 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.2268, allocations: 0 / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.2268, allocations: 11.98 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.2268, allocations: 23.86 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.756e-05/0.2269, allocations: 36.11 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2269, allocations: 0 / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2269, allocations: 0 / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.227, allocations: 0 / 0.7853 GB, free: 11.48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005321/0.2275, allocations: 367.3 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.2275, allocations: 12.03 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.2276, allocations: 30.75 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.2276, allocations: 8.938 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.2278, allocations: 164.3 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.2278, allocations: 12.25 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.2278, allocations: 384 / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.2281, allocations: 77.58 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.2281, allocations: 0 / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.2281, allocations: 0 / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2281, allocations: 4 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.2284, allocations: 59.92 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.2289, allocations: 276.9 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.2291, allocations: 58.42 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.2292, allocations: 40.91 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.2293, allocations: 4 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.2293, allocations: 34.56 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.2293, allocations: 0 / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005835/0.2299, allocations: 125.5 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.2299, allocations: 55.34 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.2301, allocations: 117.8 kB / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.2301, allocations: 25.7 kB / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.2301, allocations: 88.12 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.2302, allocations: 7.844 kB / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.2302, allocations: 17.72 kB / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2303, allocations: 318.8 kB / 0.7871 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.2305, allocations: 35.97 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.2306, allocations: 27.97 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.2309, allocations: 68.78 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2309, allocations: 0 / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003279/0.2312, allocations: 109.8 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2313, allocations: 4 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.2313, allocations: 0 / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2313, allocations: 3.984 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.2314, allocations: 15.98 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2314, allocations: 0 / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.008e-05/0.2315, allocations: 11.98 kB / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.2315, allocations: 7.984 kB / 0.7874 GB, free: 9.098 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 (3): * Single equations (assignments): 3 * 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.999e-05/0.2316, allocations: 114.4 kB / 0.7875 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.2316, allocations: 4 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.2317, allocations: 7.891 kB / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2317, allocations: 4 kB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.2317, allocations: 0 / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2317, allocations: 0 / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.2319, allocations: 169.6 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2319, allocations: 0 / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.331e-05/0.232, allocations: 15.98 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.232, allocations: 3.938 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.232, allocations: 7.984 kB / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.232, allocations: 3.938 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.232, allocations: 0 / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.2324, allocations: 203.3 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.2324, allocations: 77.11 kB / 0.788 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.2325, allocations: 4 kB / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.2326, allocations: 11.97 kB / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.2326, allocations: 8 kB / 0.788 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.2326, allocations: 4 kB / 0.788 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.073e-05/0.2327, allocations: 83.27 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2327, allocations: 4 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002175/0.2329, allocations: 12 kB / 0.7881 GB, free: 8.273 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 (3): * Single equations (assignments): 3 * 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.0006452/0.2336, allocations: 0.7318 MB / 0.7888 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.2339, allocations: 71.91 kB / 0.7889 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2339, allocations: 0 / 0.7889 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.2341, allocations: 35.97 kB / 0.7889 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.2344, allocations: 18.42 kB / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004899/0.2349, allocations: 172.1 kB / 0.7891 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.2351, allocations: 0.6768 MB / 0.7898 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.13e-05/0.2352, allocations: 8 kB / 0.7898 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.2352, allocations: 11.44 kB / 0.7898 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2353, allocations: 0 / 0.7898 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.2541, allocations: 1.755 MB / 0.7915 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/7.731, allocations: 1.5 kB / 0.7915 GB, free: 4.848 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe 2>&1)