Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009555/0.0009555, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009505/0.0009507, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.822/1.822, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005087, allocations: 20.06 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2755, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002059/0.2777, allocations: 1.314 MB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.279, allocations: 0.8439 MB / 0.7895 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.2791, allocations: 0 / 0.7895 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.735e-05/0.2792, allocations: 3.938 kB / 0.7895 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.2794, allocations: 23.84 kB / 0.7895 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.2797, allocations: 99.75 kB / 0.7896 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.2798, allocations: 67.7 kB / 0.7897 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.757e-05/0.2799, allocations: 8 kB / 0.7897 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.119e-05/0.28, allocations: 31.86 kB / 0.7897 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.2802, allocations: 35.83 kB / 0.7898 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.2802, allocations: 4 kB / 0.7898 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/0.2806, allocations: 267.7 kB / 0.79 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.2806, allocations: 11.98 kB / 0.7901 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.2806, allocations: 41.58 kB / 0.7901 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.2808, allocations: 96.05 kB / 0.7902 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2808, allocations: 0 / 0.7902 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2808, allocations: 0 / 0.7902 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.2809, allocations: 4 kB / 0.7902 GB, free: 8.953 MB / 0.6075 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.0006304/0.2815, allocations: 407 kB / 0.7906 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.2815, allocations: 8.031 kB / 0.7906 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.2816, allocations: 34.56 kB / 0.7906 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.2817, allocations: 7.906 kB / 0.7906 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.2819, allocations: 190.8 kB / 0.7908 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.282, allocations: 11.94 kB / 0.7908 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.282, allocations: 0 / 0.7908 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.2822, allocations: 61.67 kB / 0.7909 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2822, allocations: 0 / 0.7909 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2822, allocations: 4 kB / 0.7909 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.2822, allocations: 4 kB / 0.7909 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.2824, allocations: 51.95 kB / 0.7909 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.2828, allocations: 296.7 kB / 0.7912 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.2829, allocations: 70.48 kB / 0.7913 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.332e-05/0.283, allocations: 28.97 kB / 0.7913 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.283, allocations: 0 / 0.7913 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.2831, allocations: 34.56 kB / 0.7913 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.2831, allocations: 0 / 0.7913 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003673/0.2835, allocations: 117.5 kB / 0.7915 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.2835, allocations: 67.3 kB / 0.7915 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.2836, allocations: 129.1 kB / 0.7916 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.2836, allocations: 25.7 kB / 0.7917 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/0.2837, allocations: 100.1 kB / 0.7918 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.2838, allocations: 15.73 kB / 0.7918 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.2838, allocations: 0 / 0.7918 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002303/0.284, allocations: 318.8 kB / 0.7921 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-05/0.2841, allocations: 23.98 kB / 0.7921 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-05/0.2842, allocations: 31.98 kB / 0.7921 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.545e-05/0.2842, allocations: 24.36 kB / 0.7922 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2842, allocations: 0 / 0.7922 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002012/0.2845, allocations: 105.6 kB / 0.7923 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.2845, allocations: 8 kB / 0.7923 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2845, allocations: 3.938 kB / 0.7923 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2845, allocations: 4 kB / 0.7923 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.2846, allocations: 19.92 kB / 0.7923 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2847, allocations: 0 / 0.7923 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.046e-05/0.2847, allocations: 11.94 kB / 0.7923 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.2847, allocations: 7.938 kB / 0.7923 GB, free: 6.551 MB / 0.6075 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 9.464e-05/0.2848, allocations: 113.8 kB / 0.7924 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.285, allocations: 7.906 kB / 0.7924 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.2852, allocations: 106 kB / 0.7925 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2852, allocations: 0 / 0.7925 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2852, allocations: 0 / 0.7925 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2852, allocations: 3.984 kB / 0.7925 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.2855, allocations: 193.4 kB / 0.7927 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2855, allocations: 0 / 0.7927 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.941e-05/0.2856, allocations: 23.98 kB / 0.7927 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2856, allocations: 0 / 0.7927 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.2856, allocations: 0 / 0.7927 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2857, allocations: 0 / 0.7927 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2857, allocations: 0 / 0.7927 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.286, allocations: 195.5 kB / 0.7929 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.286, allocations: 85.02 kB / 0.793 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.2861, allocations: 0 / 0.793 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.251e-05/0.2861, allocations: 8.172 kB / 0.793 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.2862, allocations: 4 kB / 0.793 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/0.2862, allocations: 4 kB / 0.793 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.463e-05/0.2863, allocations: 111.2 kB / 0.7931 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2863, allocations: 4 kB / 0.7931 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002353/0.2865, allocations: 19.91 kB / 0.7932 GB, free: 5.586 MB / 0.6075 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.0006204/0.2871, allocations: 0.7399 MB / 0.7939 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.2874, allocations: 67.89 kB / 0.7939 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2874, allocations: 0 / 0.7939 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.667e-05/0.2875, allocations: 35.98 kB / 0.794 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.2878, allocations: 18.81 kB / 0.794 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.289, allocations: 0.6117 MB / 0.7946 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.2893, allocations: 0.6926 MB / 0.7953 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.515e-05/0.2894, allocations: 8.172 kB / 0.7953 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.655e-05/0.2894, allocations: 27.42 kB / 0.7953 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.2894, allocations: 0 / 0.7953 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.3044, allocations: 2.025 MB / 0.7973 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.3046, allocations: 198.2 kB / 0.7975 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.17, allocations: 4.062 kB / 0.7975 GB, free: 1.191 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) Environment - environmentSimulation: