Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.476/1.476, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001153/0.001153, allocations: 179.3 kB / 326.5 MB, free: 2.219 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.897/1.897, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0008852/0.0008853, allocations: 84.56 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003578, allocations: 12.06 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2542, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00175/0.256, allocations: 1.293 MB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.2572, allocations: 0.8521 MB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.2572, allocations: 0 / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.2573, allocations: 3.984 kB / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.2574, allocations: 27.89 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.2577, allocations: 94.12 kB / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.2578, allocations: 47.88 kB / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.54e-05/0.2579, allocations: 11.98 kB / 0.9024 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.863e-05/0.258, allocations: 31.84 kB / 0.9025 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.2581, allocations: 35.84 kB / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.2581, allocations: 4 kB / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.2584, allocations: 263.6 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.2584, allocations: 11.92 kB / 0.9028 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.2585, allocations: 33.7 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.2586, allocations: 96.11 kB / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2586, allocations: 0 / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2586, allocations: 0 / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.2586, allocations: 0 / 0.9029 GB, free: 61 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005388/0.2592, allocations: 400.6 kB / 0.9033 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.2592, allocations: 8.031 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.2593, allocations: 46.47 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.2594, allocations: 15.86 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.2595, allocations: 186.9 kB / 0.9035 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.2596, allocations: 0 / 0.9035 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.2596, allocations: 8 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.2598, allocations: 65.66 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.2598, allocations: 0 / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.2598, allocations: 0 / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2598, allocations: 0 / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.2599, allocations: 55.92 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.2603, allocations: 296.8 kB / 0.9039 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.2605, allocations: 54.56 kB / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.2605, allocations: 0 / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.2605, allocations: 38.69 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.2605, allocations: 0 / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0003387/0.2609, allocations: 133.6 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.2609, allocations: 51.41 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.884e-05/0.261, allocations: 135.8 kB / 0.9043 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.261, allocations: 29.7 kB / 0.9043 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.261, allocations: 100.2 kB / 0.9044 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.2611, allocations: 11.72 kB / 0.9044 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.2611, allocations: 4 kB / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.058e-05/0.2611, allocations: 318.8 kB / 0.9048 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.296e-05/0.2612, allocations: 31.98 kB / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.235e-05/0.2613, allocations: 23.98 kB / 0.9048 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.516e-05/0.2614, allocations: 27.98 kB / 0.9048 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2614, allocations: 0 / 0.9048 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001841/0.2616, allocations: 97.61 kB / 0.9049 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2616, allocations: 4 kB / 0.9049 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2616, allocations: 4 kB / 0.9049 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2616, allocations: 7.891 kB / 0.9049 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.2617, allocations: 15.98 kB / 0.905 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2618, allocations: 0 / 0.905 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.2618, allocations: 15.89 kB / 0.905 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.2618, allocations: 4 kB / 0.905 GB, free: 58.63 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.156e-05/0.2619, allocations: 109.8 kB / 0.9051 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.2619, allocations: 7.906 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.2622, allocations: 121.8 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2622, allocations: 0 / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2622, allocations: 3.953 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2622, allocations: 0 / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.2623, allocations: 181.6 kB / 0.9054 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2623, allocations: 0 / 0.9054 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.135e-05/0.2624, allocations: 15.98 kB / 0.9054 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2624, allocations: 0 / 0.9054 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.2625, allocations: 4 kB / 0.9054 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2625, allocations: 0 / 0.9054 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2625, allocations: 3.984 kB / 0.9054 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.2627, allocations: 199.6 kB / 0.9056 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.2627, allocations: 85.02 kB / 0.9057 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.2627, allocations: 7.984 kB / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-05/0.2628, allocations: 4 kB / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.2629, allocations: 11.98 kB / 0.9057 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.2629, allocations: 3.938 kB / 0.9057 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.23e-05/0.2629, allocations: 105.4 kB / 0.9058 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2629, allocations: 0 / 0.9058 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002378/0.2632, allocations: 20 kB / 0.9058 GB, free: 57.66 MB / 0.6042 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 (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.0004444/0.2636, allocations: 0.7397 MB / 0.9065 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001897/0.2638, allocations: 67.91 kB / 0.9066 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2639, allocations: 0 / 0.9066 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.62e-05/0.2639, allocations: 31.98 kB / 0.9066 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.2642, allocations: 13.48 kB / 0.9067 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/0.2647, allocations: 420.3 kB / 0.9071 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.2649, allocations: 0.6965 MB / 0.9077 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.809e-05/0.2649, allocations: 8.172 kB / 0.9077 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.265, allocations: 23.42 kB / 0.9078 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.265, allocations: 3.938 kB / 0.9078 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.2772, allocations: 2 MB / 0.9097 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.2774, allocations: 203.8 kB / 0.9099 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.059, allocations: 9.562 kB / 0.9099 GB, free: 53.51 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)