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.406/1.406, allocations: 252 MB / 267 MB, free: 11 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.00115/0.00115, allocations: 178.3 kB / 326.6 MB, free: 2.254 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.931/1.931, allocations: 205.4 MB / 0.5777 GB, free: 20.28 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.0008099/0.0008094, allocations: 89.59 kB / 0.6823 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005464/0.0005468, allocations: 8.375 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2677, allocations: 106.4 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001608/0.2694, allocations: 1.309 MB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.2705, allocations: 0.8474 MB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.2706, allocations: 0 / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.188e-05/0.2706, allocations: 11.92 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.2708, allocations: 19.84 kB / 0.9025 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.271, allocations: 91.77 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.2712, allocations: 67.72 kB / 0.9026 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.126e-05/0.2713, allocations: 8 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.968e-05/0.2713, allocations: 35.84 kB / 0.9027 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.2715, allocations: 27.91 kB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.2715, allocations: 0 / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.2718, allocations: 279.5 kB / 0.9029 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.2718, allocations: 7.984 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.2718, allocations: 37.64 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.272, allocations: 100.1 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.272, allocations: 0 / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.515e-06/0.272, allocations: 4 kB / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.272, allocations: 3.938 kB / 0.9031 GB, free: 60.97 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.0004949/0.2725, allocations: 399.1 kB / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2726, allocations: 8.031 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.2726, allocations: 34.56 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.2727, allocations: 19.84 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.2729, allocations: 186.9 kB / 0.9037 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.2729, allocations: 0 / 0.9037 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.2729, allocations: 4 kB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.2731, allocations: 65.61 kB / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.2731, allocations: 3.984 kB / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2731, allocations: 4 kB / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.2731, allocations: 4 kB / 0.9038 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.2733, allocations: 51.92 kB / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.2736, allocations: 288.9 kB / 0.9041 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.2738, allocations: 62.48 kB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/0.2739, allocations: 36.97 kB / 0.9042 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.2739, allocations: 0 / 0.9042 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.2739, allocations: 34.56 kB / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.2739, allocations: 0 / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0003305/0.2742, allocations: 121.5 kB / 0.9044 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.2743, allocations: 59.41 kB / 0.9044 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.884e-05/0.2744, allocations: 132.3 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.2744, allocations: 25.7 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.2744, allocations: 96.14 kB / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.2744, allocations: 23.64 kB / 0.9047 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.2744, allocations: 0 / 0.9047 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.284e-05/0.2745, allocations: 314.8 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.636e-05/0.2746, allocations: 27.98 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.2747, allocations: 31.97 kB / 0.905 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.669e-05/0.2747, allocations: 24 kB / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2747, allocations: 0 / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001936/0.2749, allocations: 101.7 kB / 0.9052 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.275, allocations: 7.938 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.275, allocations: 0 / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.275, allocations: 3.953 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.2751, allocations: 15.98 kB / 0.9052 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2751, allocations: 3.938 kB / 0.9052 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.376e-05/0.2752, allocations: 19.83 kB / 0.9052 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.2752, allocations: 4 kB / 0.9052 GB, free: 58.57 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.482e-05/0.2753, allocations: 113.8 kB / 0.9053 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.2753, allocations: 7.906 kB / 0.9053 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.2755, allocations: 105.9 kB / 0.9054 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2756, allocations: 11.94 kB / 0.9054 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2756, allocations: 0 / 0.9054 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2756, allocations: 0 / 0.9054 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.2757, allocations: 185.7 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2757, allocations: 0 / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.448e-05/0.2758, allocations: 20.42 kB / 0.9056 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2758, allocations: 0 / 0.9056 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2758, allocations: 4 kB / 0.9056 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2759, allocations: 4 kB / 0.9056 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.2759, allocations: 7.953 kB / 0.9056 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.2761, allocations: 195.4 kB / 0.9058 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.2761, allocations: 81.02 kB / 0.9059 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.2761, allocations: 4 kB / 0.9059 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.511e-05/0.2762, allocations: 11.98 kB / 0.9059 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.2763, allocations: 0 / 0.9059 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.2763, allocations: 11.94 kB / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.303e-05/0.2763, allocations: 101.5 kB / 0.906 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2763, allocations: 0 / 0.906 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002083/0.2766, allocations: 20 kB / 0.9061 GB, free: 57.61 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.0004533/0.277, allocations: 0.7436 MB / 0.9068 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001896/0.2772, allocations: 67.95 kB / 0.9068 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2772, allocations: 0 / 0.9068 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.866e-05/0.2773, allocations: 31.92 kB / 0.9069 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.2776, allocations: 11.98 kB / 0.9069 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008554/0.2785, allocations: 0.6086 MB / 0.9075 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.2786, allocations: 0.6936 MB / 0.9082 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.665e-05/0.2787, allocations: 4.188 kB / 0.9082 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.2787, allocations: 27.42 kB / 0.9082 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2787, allocations: 4 kB / 0.9082 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.2921, allocations: 2.017 MB / 0.9102 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/0.2923, allocations: 221.4 kB / 0.9104 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/1.948, allocations: 4.062 kB / 0.9104 GB, free: 53.24 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)