Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.636/2.636, allocations: 287.3 MB / 302.3 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001587, allocations: 191.5 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.36/2.36, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 92.14 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005269/0.0005271, allocations: 17.64 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.261, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003519/0.2646, allocations: 1.297 MB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002861/0.2675, allocations: 0.8371 MB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.2677, allocations: 8 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.955e-05/0.2678, allocations: 3.938 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.2681, allocations: 23.94 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000762/0.2689, allocations: 84.89 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.2692, allocations: 51.86 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.2694, allocations: 15.98 kB / 0.9806 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.2696, allocations: 27.92 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.2699, allocations: 31.84 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.2699, allocations: 3.984 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008746/0.2708, allocations: 263.6 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/0.2709, allocations: 15.92 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.272e-05/0.271, allocations: 33.7 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.2714, allocations: 99.98 kB / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2715, allocations: 4 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.146e-06/0.2715, allocations: 0 / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.2715, allocations: 0 / 0.981 GB, free: 25.48 MB / 0.6198 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.001007/0.2725, allocations: 403 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.484e-05/0.2726, allocations: 16.02 kB / 0.9814 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.549e-05/0.2727, allocations: 38.56 kB / 0.9814 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002608/0.273, allocations: 19.86 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.2733, allocations: 178.9 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.2734, allocations: 8 kB / 0.9816 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.2734, allocations: 0 / 0.9816 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.2738, allocations: 61.67 kB / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.2739, allocations: 0 / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.2739, allocations: 0 / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.527e-06/0.2739, allocations: 7.938 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003973/0.2743, allocations: 55.91 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008589/0.2752, allocations: 304.7 kB / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.2756, allocations: 58.55 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.2757, allocations: 0 / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.2758, allocations: 34.5 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.705e-06/0.2758, allocations: 0 / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0009103/0.2767, allocations: 121.7 kB / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.2768, allocations: 59.36 kB / 0.9823 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.277, allocations: 128.4 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.2771, allocations: 25.7 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.64e-05/0.2772, allocations: 100.1 kB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.2772, allocations: 15.75 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.2772, allocations: 0 / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.2774, allocations: 322.8 kB / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.2776, allocations: 23.98 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.2778, allocations: 27.98 kB / 0.9829 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.2781, allocations: 27.98 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.2781, allocations: 3.938 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006231/0.2788, allocations: 101.6 kB / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.2789, allocations: 4 kB / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.2789, allocations: 4 kB / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.213e-05/0.2789, allocations: 0 / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.2793, allocations: 15.98 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.2793, allocations: 7.953 kB / 0.9831 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.2795, allocations: 4 kB / 0.9831 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.2795, allocations: 0 / 0.9831 GB, free: 23.13 MB / 0.6198 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 0.0001504/0.2797, allocations: 119.9 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.2798, allocations: 11.89 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006895/0.2806, allocations: 110.3 kB / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.2806, allocations: 4 kB / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.2806, allocations: 64 / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.2807, allocations: 15.88 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.281, allocations: 181.5 kB / 0.9835 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.2811, allocations: 4 kB / 0.9835 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.2813, allocations: 15.98 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.2814, allocations: 7.938 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.2814, allocations: 0 / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.2814, allocations: 0 / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2815, allocations: 0 / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006672/0.2821, allocations: 199.4 kB / 0.9837 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.2822, allocations: 85.02 kB / 0.9838 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.2823, allocations: 0 / 0.9838 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.2825, allocations: 4 kB / 0.9838 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/0.2826, allocations: 7.984 kB / 0.9838 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.2827, allocations: 0 / 0.9838 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001125/0.2828, allocations: 105 kB / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.92e-07/0.2828, allocations: 0 / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005839/0.2834, allocations: 27.91 kB / 0.984 GB, free: 22.15 MB / 0.6198 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.001149/0.2846, allocations: 0.7437 MB / 0.9847 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005309/0.2852, allocations: 59.97 kB / 0.9847 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.2852, allocations: 0 / 0.9847 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.2855, allocations: 39.91 kB / 0.9848 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.286, allocations: 15.84 kB / 0.9848 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.2871, allocations: 424.3 kB / 0.9852 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.2874, allocations: 0.6926 MB / 0.9859 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001427/0.2876, allocations: 12.16 kB / 0.9859 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.2877, allocations: 23.44 kB / 0.9859 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of SimCode: time 1.623e-06/0.2877, allocations: 0 / 0.9859 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.3124, allocations: 2.007 MB / 0.9879 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002677/0.3127, allocations: 204 kB / 0.9881 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/2.848, allocations: 4 kB / 0.9881 GB, free: 17.97 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)