Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.745/1.745, allocations: 288.4 MB / 303.3 MB, free: 8.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 184.4 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008289/0.0008288, allocations: 93.86 kB / 0.744 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006354/0.0006355, allocations: 13.44 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2852, allocations: 115.3 MB / 0.9797 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00202/0.2873, allocations: 1.793 MB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.2886, allocations: 0.9759 MB / 0.9824 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.2887, allocations: 0 / 0.9824 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.2887, allocations: 23.78 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.289, allocations: 67.41 kB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.2893, allocations: 134.1 kB / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.2895, allocations: 262.8 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.2897, allocations: 56.69 kB / 0.9829 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.96e-05/0.2898, allocations: 87.58 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.29, allocations: 123.5 kB / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.29, allocations: 8 kB / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.2904, allocations: 271.7 kB / 0.9833 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.2904, allocations: 43.77 kB / 0.9834 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.2904, allocations: 65.58 kB / 0.9834 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.2907, allocations: 223.6 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2907, allocations: 0 / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2907, allocations: 4 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.2907, allocations: 0 / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009453/0.2917, allocations: 0.6116 MB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.2917, allocations: 12.02 kB / 0.9843 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.2918, allocations: 50.55 kB / 0.9843 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.292, allocations: 39.61 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.2922, allocations: 266.4 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.2923, allocations: 12.28 kB / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.2923, allocations: 12 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.2928, allocations: 256.2 kB / 0.9849 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.2928, allocations: 4 kB / 0.9849 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.2928, allocations: 12 kB / 0.9849 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.2929, allocations: 4 kB / 0.9849 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006462/0.2935, allocations: 239.7 kB / 0.9851 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009365/0.2945, allocations: 0.9423 MB / 0.986 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007267/0.2952, allocations: 261.2 kB / 0.9863 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.2955, allocations: 125.6 kB / 0.9864 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.2956, allocations: 11.98 kB / 0.9864 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.2956, allocations: 34.56 kB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.2956, allocations: 0 / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.00113/0.2967, allocations: 409.3 kB / 0.9869 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2968, allocations: 85.05 kB / 0.9869 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.297, allocations: 259 kB / 0.9872 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.297, allocations: 29.7 kB / 0.9872 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.894e-05/0.2971, allocations: 164.1 kB / 0.9874 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.2971, allocations: 55.25 kB / 0.9874 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/0.2972, allocations: 4 kB / 0.9874 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.2972, allocations: 346.7 kB / 0.9878 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.2976, allocations: 111.9 kB / 0.9879 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.2979, allocations: 164.6 kB / 0.988 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.2982, allocations: 123.9 kB / 0.9881 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2983, allocations: 0 / 0.9881 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007786/0.299, allocations: 337 kB / 0.9885 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.2991, allocations: 4 kB / 0.9885 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2991, allocations: 4 kB / 0.9885 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.827e-05/0.2991, allocations: 4 kB / 0.9885 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.2994, allocations: 76 kB / 0.9885 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2994, allocations: 0 / 0.9885 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.2997, allocations: 51.75 kB / 0.9886 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.2997, allocations: 8 kB / 0.9886 GB, free: 18.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.687e-05/0.2998, allocations: 133.8 kB / 0.9887 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.732e-05/0.2999, allocations: 27.66 kB / 0.9887 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007769/0.3007, allocations: 339.9 kB / 0.9891 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3007, allocations: 0 / 0.9891 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.3007, allocations: 8 kB / 0.9891 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3007, allocations: 3.984 kB / 0.9891 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.301, allocations: 293.4 kB / 0.9894 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.301, allocations: 3.938 kB / 0.9894 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.3013, allocations: 63.95 kB / 0.9894 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3013, allocations: 0 / 0.9894 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.3013, allocations: 8 kB / 0.9894 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3013, allocations: 3.984 kB / 0.9894 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3014, allocations: 0 / 0.9894 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007355/0.3021, allocations: 490.2 kB / 0.9899 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.3021, allocations: 96.83 kB / 0.99 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.3022, allocations: 11.95 kB / 0.99 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.3024, allocations: 35.95 kB / 0.99 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.3025, allocations: 23.97 kB / 0.9901 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.3025, allocations: 4 kB / 0.9901 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00013/0.3027, allocations: 190 kB / 0.9903 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.3027, allocations: 0 / 0.9903 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003139/0.303, allocations: 64.09 kB / 0.9903 GB, free: 16.23 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00103/0.304, allocations: 1.03 MB / 0.9913 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006897/0.3047, allocations: 271.9 kB / 0.9916 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3048, allocations: 0 / 0.9916 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.3051, allocations: 140.3 kB / 0.9917 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.3057, allocations: 76.95 kB / 0.9918 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.3081, allocations: 1.556 MB / 0.9933 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.3083, allocations: 0.7482 MB / 0.994 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000154/0.3085, allocations: 38.27 kB / 0.9941 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.3086, allocations: 83.41 kB / 0.9942 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.3086, allocations: 0 / 0.9942 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.3257, allocations: 5.833 MB / 0.9998 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.3259, allocations: 214.7 kB / 1 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/2.559, allocations: 0 / 1 GB, free: 6.328 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)