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.001354/0.001354, allocations: 109.4 kB / 15.69 MB, free: 128 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.001477/0.001477, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.284/1.284, 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.614/1.614, 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.002187/0.002187, allocations: 66.83 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2119, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation): time 0.002805/0.2148, allocations: 1.534 MB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000234/0.2151, allocations: 151.5 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.2151, allocations: 3.938 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.2152, allocations: 3.984 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.978e-05/0.2152, allocations: 11.88 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.022e-05/0.2153, allocations: 7.984 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.01e-05/0.2154, allocations: 43.86 kB / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2155, allocations: 11.98 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.154e-05/0.2156, allocations: 23.91 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.534e-05/0.2156, allocations: 23.92 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.2156, allocations: 4 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-06/0.2157, allocations: 4 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.2157, allocations: 7.984 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.2157, allocations: 15.88 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.515e-05/0.2158, allocations: 44.09 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2158, allocations: 0 / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2158, allocations: 0 / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.2158, allocations: 0 / 0.7855 GB, free: 11.34 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.0005266/0.2164, allocations: 367.3 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2164, allocations: 8.031 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.2164, allocations: 34.75 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.296e-05/0.2165, allocations: 0.9375 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.2166, allocations: 180.2 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.2166, allocations: 384 / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.2166, allocations: 8.375 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.2169, allocations: 69.59 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2169, allocations: 3.938 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.2169, allocations: 0 / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.2169, allocations: 3.938 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.2172, allocations: 63.92 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.2176, allocations: 276.8 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.2178, allocations: 54.53 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.2179, allocations: 40.91 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.2179, allocations: 0 / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.218, allocations: 34.56 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.218, allocations: 0 / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005137/0.2185, allocations: 133.4 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.2185, allocations: 59.41 kB / 0.7868 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.767e-05/0.2186, allocations: 105.8 kB / 0.7869 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.2186, allocations: 29.7 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.2187, allocations: 88.14 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.2187, allocations: 7.844 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.2187, allocations: 17.7 kB / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.2188, allocations: 318.8 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.219, allocations: 27.97 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.2191, allocations: 43.95 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.2194, allocations: 64.78 kB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2194, allocations: 0 / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003029/0.2197, allocations: 105.5 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2197, allocations: 8 kB / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2197, allocations: 0 / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2198, allocations: 0 / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.2199, allocations: 11.98 kB / 0.7876 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2199, allocations: 4 kB / 0.7876 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.376e-05/0.22, allocations: 7.984 kB / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.22, allocations: 4 kB / 0.7876 GB, free: 8.965 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.754e-05/0.2201, allocations: 122.4 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.2201, allocations: 4 kB / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.2201, allocations: 7.906 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2201, allocations: 0 / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2201, allocations: 0 / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2201, allocations: 0 / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.2203, allocations: 173.5 kB / 0.7879 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2203, allocations: 0 / 0.7879 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.417e-05/0.2204, allocations: 19.97 kB / 0.7879 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2204, allocations: 4 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.2204, allocations: 3.938 kB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2204, allocations: 0 / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2204, allocations: 0 / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.2208, allocations: 199.3 kB / 0.7881 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.2209, allocations: 89.03 kB / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.2209, allocations: 0 / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.221, allocations: 11.98 kB / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.221, allocations: 384 / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.221, allocations: 0 / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.085e-05/0.2211, allocations: 91.27 kB / 0.7883 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2211, allocations: 0 / 0.7883 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002075/0.2213, allocations: 8 kB / 0.7883 GB, free: 8.145 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.0006169/0.2219, allocations: 0.7396 MB / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003271/0.2223, allocations: 71.92 kB / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2223, allocations: 0 / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.2224, allocations: 39.91 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.2227, allocations: 11.98 kB / 0.7891 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.2232, allocations: 172.2 kB / 0.7893 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.2234, allocations: 0.6807 MB / 0.7899 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.464e-05/0.2235, allocations: 0 / 0.7899 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.2235, allocations: 15.44 kB / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2235, allocations: 0 / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.2399, allocations: 1.765 MB / 0.7917 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/7.842, allocations: 4.062 kB / 0.7917 GB, free: 4.707 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)