Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 252 MB / 267 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 180 kB / 326.6 MB, free: 2.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.4 MB / 0.5777 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007534/0.0007533, allocations: 83.88 kB / 0.6822 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003474, allocations: 10.09 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2387, allocations: 106.4 MB / 0.9003 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002068/0.2408, allocations: 1.796 MB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2421, allocations: 0.9757 MB / 0.903 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.2423, allocations: 4 kB / 0.903 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.2423, allocations: 19.78 kB / 0.903 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.2426, allocations: 63.48 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.2429, allocations: 139.7 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00024/0.2432, allocations: 258.8 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.2433, allocations: 52.7 kB / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.2434, allocations: 91.56 kB / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.2436, allocations: 123.5 kB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.2437, allocations: 8 kB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003272/0.244, allocations: 275.7 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.244, allocations: 39.77 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.2441, allocations: 69.58 kB / 0.9041 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.2443, allocations: 211.8 kB / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.2443, allocations: 3.984 kB / 0.9043 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2443, allocations: 0 / 0.9043 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2443, allocations: 0 / 0.9043 GB, free: 59.6 MB / 0.6042 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.0009631/0.2453, allocations: 0.6039 MB / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.2454, allocations: 8.031 kB / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.774e-05/0.2454, allocations: 46.55 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.2456, allocations: 47.56 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.2459, allocations: 270.3 kB / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.2459, allocations: 8.281 kB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.246, allocations: 16 kB / 0.9053 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.2465, allocations: 252.2 kB / 0.9055 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2465, allocations: 0 / 0.9055 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.2465, allocations: 8 kB / 0.9055 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2465, allocations: 4 kB / 0.9055 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006283/0.2471, allocations: 255.6 kB / 0.9058 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009217/0.2481, allocations: 0.954 MB / 0.9067 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007293/0.2488, allocations: 265.2 kB / 0.907 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.2491, allocations: 125.6 kB / 0.9071 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.2492, allocations: 0 / 0.9071 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.2492, allocations: 42.5 kB / 0.9071 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.2492, allocations: 0 / 0.9071 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.001108/0.2503, allocations: 397.4 kB / 0.9075 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.2504, allocations: 85.11 kB / 0.9076 GB, free: 56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.2506, allocations: 259 kB / 0.9078 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.2506, allocations: 29.7 kB / 0.9079 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.2507, allocations: 168.1 kB / 0.908 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.2507, allocations: 51.2 kB / 0.9081 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.2507, allocations: 4 kB / 0.9081 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.402e-05/0.2508, allocations: 338.8 kB / 0.9084 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/0.2511, allocations: 111.9 kB / 0.9085 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.2514, allocations: 158.7 kB / 0.9087 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.2518, allocations: 131.8 kB / 0.9088 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2518, allocations: 0 / 0.9088 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007513/0.2525, allocations: 325.8 kB / 0.9091 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.2526, allocations: 11.94 kB / 0.9091 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.2526, allocations: 0 / 0.9091 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.2526, allocations: 4 kB / 0.9091 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.2529, allocations: 72.08 kB / 0.9092 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2529, allocations: 7.984 kB / 0.9092 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.2532, allocations: 51.75 kB / 0.9092 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.2532, allocations: 11.95 kB / 0.9093 GB, free: 54.25 MB / 0.6042 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.83e-05/0.2533, allocations: 125.8 kB / 0.9094 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.713e-05/0.2534, allocations: 31.62 kB / 0.9094 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007572/0.2542, allocations: 347.1 kB / 0.9097 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2542, allocations: 4 kB / 0.9097 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2542, allocations: 0 / 0.9097 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2542, allocations: 7.984 kB / 0.9097 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.2545, allocations: 289.4 kB / 0.91 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2545, allocations: 0 / 0.91 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.2548, allocations: 67.89 kB / 0.9101 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.2548, allocations: 4 kB / 0.9101 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.2548, allocations: 0 / 0.9101 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2548, allocations: 4 kB / 0.9101 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2548, allocations: 4 kB / 0.9101 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007287/0.2555, allocations: 492.5 kB / 0.9106 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.2556, allocations: 100.7 kB / 0.9107 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.2557, allocations: 8 kB / 0.9107 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.2559, allocations: 39.95 kB / 0.9107 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.256, allocations: 15.98 kB / 0.9107 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.256, allocations: 7.984 kB / 0.9107 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001373/0.2561, allocations: 186 kB / 0.9109 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2562, allocations: 0 / 0.9109 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003166/0.2565, allocations: 56 kB / 0.911 GB, free: 52.39 MB / 0.6042 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.001042/0.2575, allocations: 1.036 MB / 0.912 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007256/0.2583, allocations: 272.1 kB / 0.9122 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2583, allocations: 0 / 0.9122 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.2586, allocations: 139.9 kB / 0.9124 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.2592, allocations: 70.47 kB / 0.9124 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.2616, allocations: 1.56 MB / 0.914 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.2618, allocations: 0.7518 MB / 0.9147 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.262, allocations: 34.27 kB / 0.9147 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.2621, allocations: 79.41 kB / 0.9148 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/0.2621, allocations: 0 / 0.9148 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.279, allocations: 5.851 MB / 0.9205 GB, free: 42.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/0.2793, allocations: 212.2 kB / 0.9207 GB, free: 42.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/2.473, allocations: 2.812 kB / 0.9207 GB, free: 42.49 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)