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.629/1.629, allocations: 252 MB / 267.3 MB, free: 10.84 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.001577/0.001577, allocations: 180.6 kB / 327 MB, free: 2.074 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0008273/0.0008273, allocations: 86.3 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.000392, allocations: 11.16 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2779, allocations: 106.3 MB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001966/0.28, allocations: 1.328 MB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.2816, allocations: 0.9248 MB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.873e-05/0.2817, allocations: 4 kB / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.2817, allocations: 0 / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.282, allocations: 23.78 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.2824, allocations: 95.83 kB / 0.9032 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.2825, allocations: 71.66 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.2827, allocations: 19.97 kB / 0.9033 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.2828, allocations: 31.84 kB / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.2829, allocations: 27.86 kB / 0.9034 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.283, allocations: 11.94 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.2834, allocations: 275.6 kB / 0.9037 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.2834, allocations: 15.92 kB / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.2834, allocations: 49.52 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.2837, allocations: 147.9 kB / 0.9039 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.2838, allocations: 0 / 0.9039 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2838, allocations: 0 / 0.9039 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.2838, allocations: 0 / 0.9039 GB, free: 60.21 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.0005478/0.2843, allocations: 399.2 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.2844, allocations: 8.031 kB / 0.9043 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.2844, allocations: 38.73 kB / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.2846, allocations: 8.844 kB / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.2847, allocations: 184.2 kB / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.2848, allocations: 384 / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.2848, allocations: 8.375 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.285, allocations: 73.78 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.285, allocations: 3.938 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.285, allocations: 0 / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.285, allocations: 0 / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.2852, allocations: 47.97 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.2856, allocations: 304.7 kB / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.2858, allocations: 58.56 kB / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.774e-05/0.2859, allocations: 36.91 kB / 0.905 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.2859, allocations: 0 / 0.905 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.2859, allocations: 42.55 kB / 0.905 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 2.134e-06/0.286, allocations: 0 / 0.905 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0003831/0.2863, allocations: 121.5 kB / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.2864, allocations: 51.41 kB / 0.9052 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.606e-05/0.2865, allocations: 129.8 kB / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.2865, allocations: 29.7 kB / 0.9053 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.2865, allocations: 100.1 kB / 0.9054 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.2866, allocations: 7.812 kB / 0.9054 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.2866, allocations: 8 kB / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.806e-05/0.2866, allocations: 322.8 kB / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.458e-05/0.2867, allocations: 31.92 kB / 0.9058 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.2868, allocations: 24.23 kB / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.2869, allocations: 68.95 kB / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.287, allocations: 0 / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002384/0.2872, allocations: 97.58 kB / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.2872, allocations: 6.5 kB / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2873, allocations: 3.938 kB / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.2873, allocations: 7.984 kB / 0.906 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.2874, allocations: 16 kB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.2874, allocations: 3.938 kB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.592e-05/0.2875, allocations: 7.984 kB / 0.906 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.2875, allocations: 0 / 0.906 GB, free: 57.78 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.314e-05/0.2876, allocations: 117.8 kB / 0.9061 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.2877, allocations: 7.906 kB / 0.9061 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.2879, allocations: 109.9 kB / 0.9062 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.288, allocations: 4 kB / 0.9062 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.288, allocations: 0 / 0.9062 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.288, allocations: 0 / 0.9062 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.2881, allocations: 185.5 kB / 0.9064 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2882, allocations: 4 kB / 0.9064 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.084e-05/0.2883, allocations: 27.92 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2883, allocations: 0 / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.2883, allocations: 3.984 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2883, allocations: 0 / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2883, allocations: 0 / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.2886, allocations: 191.7 kB / 0.9066 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.2886, allocations: 89 kB / 0.9067 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.2886, allocations: 4 kB / 0.9067 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.021e-05/0.2887, allocations: 7.938 kB / 0.9067 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.2888, allocations: 7.984 kB / 0.9067 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.2888, allocations: 0 / 0.9067 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.339e-05/0.2888, allocations: 111.2 kB / 0.9068 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2889, allocations: 0 / 0.9068 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002377/0.2891, allocations: 16 kB / 0.9069 GB, free: 56.81 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 (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.000538/0.2896, allocations: 0.7475 MB / 0.9076 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.2899, allocations: 59.97 kB / 0.9077 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2899, allocations: 4 kB / 0.9077 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.813e-05/0.29, allocations: 35.92 kB / 0.9077 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.2903, allocations: 17.8 kB / 0.9077 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.2917, allocations: 1.502 MB / 0.9092 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.2919, allocations: 0.6965 MB / 0.9099 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.358e-05/0.2919, allocations: 4 kB / 0.9099 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.292, allocations: 27.42 kB / 0.9099 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.292, allocations: 0 / 0.9099 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/0.3051, allocations: 2.027 MB / 0.9119 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.3054, allocations: 231.5 kB / 0.9121 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.097, allocations: 1.719 kB / 0.9121 GB, free: 51.48 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)