Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HANaturalCylinder,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.001196/0.001197, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 188.5 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.652/1.652, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001608/0.001608, allocations: 73.67 kB / 0.6718 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2214, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006652/0.2281, allocations: 4.591 MB / 0.7881 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.2292, allocations: 0.8108 MB / 0.7889 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.066e-05/0.2293, allocations: 0 / 0.7889 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.2295, allocations: 31.77 kB / 0.7889 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.402e-05/0.2296, allocations: 35.7 kB / 0.789 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.2302, allocations: 163.4 kB / 0.7891 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.2304, allocations: 171.4 kB / 0.7893 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.2305, allocations: 24.89 kB / 0.7893 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.2307, allocations: 87.62 kB / 0.7894 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.2308, allocations: 79.72 kB / 0.7895 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.2308, allocations: 12 kB / 0.7895 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003482/0.2312, allocations: 147.8 kB / 0.7896 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/0.2312, allocations: 35.89 kB / 0.7897 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.437e-05/0.2313, allocations: 63.67 kB / 0.7897 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.2317, allocations: 247.6 kB / 0.79 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2317, allocations: 7.938 kB / 0.79 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.785e-06/0.2317, allocations: 0 / 0.79 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2317, allocations: 3.938 kB / 0.79 GB, free: 6.742 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008581/0.2326, allocations: 474.9 kB / 0.7904 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.2326, allocations: 12.03 kB / 0.7904 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.657e-05/0.2327, allocations: 46.73 kB / 0.7905 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.2328, allocations: 16.75 kB / 0.7905 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.2329, allocations: 183.3 kB / 0.7907 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.2329, allocations: 12.12 kB / 0.7907 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.233, allocations: 4 kB / 0.7907 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.2333, allocations: 124 kB / 0.7908 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.2333, allocations: 0 / 0.7908 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.2333, allocations: 4 kB / 0.7908 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2333, allocations: 8 kB / 0.7908 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/0.2337, allocations: 139.9 kB / 0.7909 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009496/0.2347, allocations: 468.3 kB / 0.7914 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.235, allocations: 126.5 kB / 0.7915 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.2352, allocations: 72.75 kB / 0.7916 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/0.2365, allocations: 0.9646 MB / 0.7925 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.2366, allocations: 38.5 kB / 0.7926 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.2366, allocations: 0 / 0.7926 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006444/0.2372, allocations: 209.4 kB / 0.7928 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.2373, allocations: 55.41 kB / 0.7928 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.2374, allocations: 165.2 kB / 0.793 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.2374, allocations: 29.7 kB / 0.793 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.2375, allocations: 108.4 kB / 0.7931 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.2375, allocations: 39.45 kB / 0.7931 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.514e-05/0.2376, allocations: 49.7 kB / 0.7932 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2378, allocations: 326.8 kB / 0.7935 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.238, allocations: 71.95 kB / 0.7936 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.2382, allocations: 110.2 kB / 0.7937 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.2386, allocations: 175.2 kB / 0.7938 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2386, allocations: 0 / 0.7938 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000541/0.2392, allocations: 251.7 kB / 0.7941 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2392, allocations: 4 kB / 0.7941 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2392, allocations: 0 / 0.7941 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.2392, allocations: 4 kB / 0.7941 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.2395, allocations: 51.91 kB / 0.7941 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2395, allocations: 0 / 0.7941 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.2397, allocations: 39.84 kB / 0.7942 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.2397, allocations: 8 kB / 0.7942 GB, free: 2.043 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 9.679e-05/0.2398, allocations: 121.8 kB / 0.7943 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.2398, allocations: 23.69 kB / 0.7943 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.2403, allocations: 170.9 kB / 0.7945 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2403, allocations: 4 kB / 0.7945 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2403, allocations: 4 kB / 0.7945 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.2403, allocations: 4 kB / 0.7945 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.2406, allocations: 221.4 kB / 0.7947 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2406, allocations: 0 / 0.7947 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.2407, allocations: 35.84 kB / 0.7947 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2407, allocations: 0 / 0.7947 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.2407, allocations: 8 kB / 0.7948 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2408, allocations: 0 / 0.7948 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2408, allocations: 0 / 0.7948 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.2412, allocations: 255.3 kB / 0.795 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.2413, allocations: 100.8 kB / 0.7951 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.2413, allocations: 4 kB / 0.7951 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.2414, allocations: 15.98 kB / 0.7951 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.2415, allocations: 15.92 kB / 0.7951 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.2415, allocations: 4 kB / 0.7951 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.863e-05/0.2416, allocations: 114.1 kB / 0.7952 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2416, allocations: 0 / 0.7952 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003595/0.242, allocations: 68.3 kB / 0.7953 GB, free: 0.7969 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 (12): * Single equations (assignments): 12 * 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.0009155/0.2429, allocations: 0.8449 MB / 0.7961 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004947/0.2434, allocations: 171.6 kB / 0.7963 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2434, allocations: 0 / 0.7963 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.2436, allocations: 68 kB / 0.7964 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.244, allocations: 32.09 kB / 0.7964 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.2465, allocations: 1.954 MB / 0.7983 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.2467, allocations: 0.7123 MB / 0.799 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.448e-05/0.2468, allocations: 17.08 kB / 0.799 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.767e-05/0.2469, allocations: 35.42 kB / 0.799 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.2469, allocations: 0 / 0.799 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.2672, allocations: 4.255 MB / 0.8032 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.141/7.408, allocations: 11.88 kB / 0.8032 GB, free: 8.719 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)