Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.002397/0.002397, allocations: 194.3 kB / 16.25 MB, free: 6.629 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.507/1.507, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.821/1.821, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001337/0.001337, allocations: 66.36 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.277, allocations: 114.6 MB / 0.7829 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.004462/0.2815, allocations: 2.197 MB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.2836, allocations: 1.038 MB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.284, allocations: 7.938 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.2842, allocations: 11.86 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005399/0.2847, allocations: 75.41 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006517/0.2854, allocations: 163.7 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.2859, allocations: 294.8 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.2861, allocations: 57 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.2864, allocations: 111.5 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.2867, allocations: 139.4 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.266e-05/0.2868, allocations: 20 kB / 0.7869 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005176/0.2873, allocations: 303.6 kB / 0.7872 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.2874, allocations: 43.83 kB / 0.7872 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.2875, allocations: 123.3 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.288, allocations: 322.9 kB / 0.7876 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.288, allocations: 0 / 0.7876 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.294e-06/0.288, allocations: 4 kB / 0.7876 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.288, allocations: 0 / 0.7876 GB, free: 9.023 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00111/0.2892, allocations: 0.6272 MB / 0.7882 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.2892, allocations: 12.02 kB / 0.7883 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.2895, allocations: 36.56 kB / 0.7883 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.2898, allocations: 275.5 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.2898, allocations: 12.66 kB / 0.7886 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.2899, allocations: 16.12 kB / 0.7886 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.2904, allocations: 236.2 kB / 0.7888 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2904, allocations: 0 / 0.7888 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.2904, allocations: 8 kB / 0.7888 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2904, allocations: 4 kB / 0.7888 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.2911, allocations: 199.7 kB / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.2923, allocations: 0.9385 MB / 0.7899 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007638/0.293, allocations: 241.1 kB / 0.7902 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.2934, allocations: 105.6 kB / 0.7903 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.2934, allocations: 8 kB / 0.7903 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.2934, allocations: 38.55 kB / 0.7903 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.605e-06/0.2935, allocations: 0 / 0.7903 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0011/0.2946, allocations: 337.3 kB / 0.7906 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.2946, allocations: 81.11 kB / 0.7907 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.2949, allocations: 274.9 kB / 0.791 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.2949, allocations: 29.64 kB / 0.791 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.2951, allocations: 156.2 kB / 0.7911 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.2951, allocations: 59.19 kB / 0.7912 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-05/0.2952, allocations: 45.7 kB / 0.7912 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2954, allocations: 334.8 kB / 0.7916 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.2957, allocations: 91.91 kB / 0.7916 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.296, allocations: 140.8 kB / 0.7918 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.2966, allocations: 233.7 kB / 0.792 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2966, allocations: 3.938 kB / 0.792 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007582/0.2974, allocations: 293 kB / 0.7923 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.2974, allocations: 10.66 kB / 0.7923 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2974, allocations: 4.156 kB / 0.7923 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.2974, allocations: 4 kB / 0.7923 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.2977, allocations: 59.88 kB / 0.7924 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.2977, allocations: 4 kB / 0.7924 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.298, allocations: 39.72 kB / 0.7924 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.298, allocations: 15.98 kB / 0.7924 GB, free: 3.809 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 0.000137/0.2981, allocations: 142.4 kB / 0.7925 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.2982, allocations: 27.72 kB / 0.7926 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007708/0.299, allocations: 291.9 kB / 0.7929 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.299, allocations: 4 kB / 0.7929 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.299, allocations: 4 kB / 0.7929 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2991, allocations: 4 kB / 0.7929 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.2994, allocations: 297.3 kB / 0.7931 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2994, allocations: 0 / 0.7931 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.2997, allocations: 51.94 kB / 0.7932 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2997, allocations: 8 kB / 0.7932 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.2997, allocations: 4 kB / 0.7932 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2997, allocations: 0 / 0.7932 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2997, allocations: 4 kB / 0.7932 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008463/0.3006, allocations: 444.6 kB / 0.7936 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.3007, allocations: 112.7 kB / 0.7937 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.3007, allocations: 0 / 0.7937 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.301, allocations: 31.91 kB / 0.7938 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.3011, allocations: 19.97 kB / 0.7938 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.3011, allocations: 8 kB / 0.7938 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001713/0.3013, allocations: 190 kB / 0.794 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3013, allocations: 0 / 0.794 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003472/0.3016, allocations: 52 kB / 0.794 GB, free: 2.047 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002288/0.3019, allocations: 119.2 kB / 0.7941 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007346/0.3026, allocations: 235.8 kB / 0.7944 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3026, allocations: 0 / 0.7944 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.303, allocations: 124.7 kB / 0.7945 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006248/0.3036, allocations: 68.91 kB / 0.7946 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008537/0.3044, allocations: 0.526 MB / 0.7951 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.3048, allocations: 0.7519 MB / 0.7958 GB, free: 172 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001585/0.305, allocations: 30.44 kB / 0.7958 GB, free: 140 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.3051, allocations: 27.42 kB / 0.7959 GB, free: 116 kB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.3051, allocations: 0 / 0.7959 GB, free: 116 kB / 0.6075 GB Notification: Performance of Templates: time 0.007593/0.3127, allocations: 3.729 MB / 0.7995 GB, free: 12.46 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)