Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.737/1.737, allocations: 288.4 MB / 303.3 MB, free: 8.129 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.00113/0.00113, allocations: 176.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.4 MB / 0.6307 GB, free: 9.965 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.000995/0.0009945, allocations: 82.34 kB / 0.744 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006701/0.0006704, allocations: 21.48 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2805, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001711/0.2822, allocations: 1.301 MB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.2834, allocations: 0.8484 MB / 0.9818 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.022e-05/0.2835, allocations: 0 / 0.9818 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.2836, allocations: 7.922 kB / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.2838, allocations: 19.86 kB / 0.9818 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.284, allocations: 98 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.2841, allocations: 71.72 kB / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2842, allocations: 4 kB / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.67e-05/0.2843, allocations: 35.84 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.2844, allocations: 31.84 kB / 0.982 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.2845, allocations: 0 / 0.982 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.2848, allocations: 271.7 kB / 0.9823 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.2848, allocations: 15.86 kB / 0.9823 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.2848, allocations: 37.64 kB / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.285, allocations: 104 kB / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.285, allocations: 0 / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.869e-06/0.285, allocations: 4 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.285, allocations: 0 / 0.9824 GB, free: 24.68 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.0005075/0.2855, allocations: 395.1 kB / 0.9828 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2856, allocations: 12.02 kB / 0.9828 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.2856, allocations: 34.56 kB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.2857, allocations: 15.91 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.2859, allocations: 190.8 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.2859, allocations: 4 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.2859, allocations: 4 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.2861, allocations: 65.61 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2861, allocations: 0 / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.2861, allocations: 4 kB / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2862, allocations: 0 / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.2863, allocations: 51.95 kB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.2867, allocations: 300.8 kB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.2869, allocations: 58.55 kB / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.683e-05/0.2869, allocations: 36.91 kB / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.287, allocations: 0 / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.287, allocations: 38.56 kB / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.784e-06/0.287, allocations: 0 / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0003412/0.2873, allocations: 121.5 kB / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.2874, allocations: 59.36 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.2875, allocations: 132.5 kB / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.2875, allocations: 25.7 kB / 0.9839 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.2876, allocations: 92.14 kB / 0.984 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.2876, allocations: 23.81 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.2876, allocations: 0 / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.13e-05/0.2876, allocations: 314.8 kB / 0.9843 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.326e-05/0.2877, allocations: 31.92 kB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.276e-05/0.2878, allocations: 23.98 kB / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.591e-05/0.2879, allocations: 31.98 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2879, allocations: 0 / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001966/0.2881, allocations: 101.6 kB / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2881, allocations: 4 kB / 0.9845 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2881, allocations: 0 / 0.9845 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2881, allocations: 0 / 0.9845 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.2883, allocations: 15.98 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.2883, allocations: 0 / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.2883, allocations: 19.89 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.2884, allocations: 3.984 kB / 0.9845 GB, free: 22.29 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 6.221e-05/0.2884, allocations: 117.8 kB / 0.9846 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.2885, allocations: 7.906 kB / 0.9847 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.2887, allocations: 109.9 kB / 0.9848 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2887, allocations: 4 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2887, allocations: 0 / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2887, allocations: 0 / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.2889, allocations: 193.5 kB / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2889, allocations: 0 / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.3e-05/0.289, allocations: 20.47 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.289, allocations: 0 / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.289, allocations: 0 / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.289, allocations: 11.94 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.289, allocations: 0 / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.2892, allocations: 195.5 kB / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.2893, allocations: 81.02 kB / 0.9852 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.2893, allocations: 4 kB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.2894, allocations: 19.92 kB / 0.9853 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.2894, allocations: 0 / 0.9853 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.2895, allocations: 4 kB / 0.9853 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.419e-05/0.2895, allocations: 100.8 kB / 0.9854 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2895, allocations: 0 / 0.9854 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002166/0.2897, allocations: 31.91 kB / 0.9854 GB, free: 21.31 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.0004618/0.2902, allocations: 0.7358 MB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.2904, allocations: 67.95 kB / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2904, allocations: 0 / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.841e-05/0.2905, allocations: 31.92 kB / 0.9862 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.2909, allocations: 16.97 kB / 0.9862 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000892/0.2918, allocations: 0.621 MB / 0.9868 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.2919, allocations: 0.6887 MB / 0.9875 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.773e-05/0.292, allocations: 4.188 kB / 0.9875 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.292, allocations: 27.42 kB / 0.9875 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.292, allocations: 0 / 0.9875 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/0.3052, allocations: 2.025 MB / 0.9895 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.3054, allocations: 221.4 kB / 0.9897 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/2.414, allocations: 4.062 kB / 0.9897 GB, free: 16.93 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)