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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0016/0.0016, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.505/1.505, allocations: 205.1 MB / 222 MB, free: 4.992 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.784/1.784, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001296/0.001296, allocations: 68.56 kB / 0.6708 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2913, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003586/0.295, allocations: 1.668 MB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.2969, allocations: 0.9368 MB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.297, allocations: 0 / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.671e-05/0.2971, allocations: 7.922 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.2974, allocations: 15.86 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.2977, allocations: 102.5 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.2978, allocations: 75.72 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.298, allocations: 4 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.2981, allocations: 35.84 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.2982, allocations: 39.78 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.2983, allocations: 4 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004107/0.2987, allocations: 279.6 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.2987, allocations: 11.94 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.2988, allocations: 27.86 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.299, allocations: 151.9 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.2991, allocations: 0 / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2991, allocations: 0 / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.2991, allocations: 0 / 0.7859 GB, free: 10.62 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.0007214/0.2998, allocations: 415 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.2999, allocations: 12.03 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.3001, allocations: 16.83 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.3003, allocations: 188.2 kB / 0.7865 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3003, allocations: 384 / 0.7865 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.3003, allocations: 8.125 kB / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.3006, allocations: 57.67 kB / 0.7866 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3006, allocations: 7.984 kB / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3006, allocations: 0 / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3006, allocations: 0 / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.3008, allocations: 47.91 kB / 0.7867 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.3014, allocations: 300.7 kB / 0.7869 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.3015, allocations: 54.55 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.147e-05/0.3016, allocations: 28.97 kB / 0.787 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3016, allocations: 4 kB / 0.787 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.3017, allocations: 34.56 kB / 0.7871 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.3017, allocations: 0 / 0.7871 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0004315/0.3021, allocations: 109.5 kB / 0.7872 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.3022, allocations: 51.41 kB / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3023, allocations: 132.2 kB / 0.7873 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.3024, allocations: 29.7 kB / 0.7874 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.3025, allocations: 92.14 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.3025, allocations: 23.73 kB / 0.7875 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.3025, allocations: 17.72 kB / 0.7875 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3027, allocations: 322.8 kB / 0.7878 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.3028, allocations: 23.98 kB / 0.7878 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.827e-05/0.3029, allocations: 19.98 kB / 0.7878 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.303, allocations: 60.77 kB / 0.7879 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3031, allocations: 0 / 0.7879 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002199/0.3033, allocations: 93.56 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3033, allocations: 4 kB / 0.788 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3033, allocations: 0 / 0.788 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3034, allocations: 3.938 kB / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3035, allocations: 19.92 kB / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3035, allocations: 4 kB / 0.788 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.576e-05/0.3036, allocations: 7.906 kB / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.3036, allocations: 4.375 kB / 0.788 GB, free: 8.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.477e-05/0.3037, allocations: 113.8 kB / 0.7881 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.3038, allocations: 11.89 kB / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.304, allocations: 101.9 kB / 0.7883 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.304, allocations: 8 kB / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3041, allocations: 0 / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3041, allocations: 0 / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.3043, allocations: 185.6 kB / 0.7884 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3043, allocations: 0 / 0.7884 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.7e-05/0.3044, allocations: 15.98 kB / 0.7885 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3044, allocations: 0 / 0.7885 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3044, allocations: 0 / 0.7885 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3044, allocations: 4 kB / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3044, allocations: 0 / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.3047, allocations: 195.3 kB / 0.7886 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.3048, allocations: 85.02 kB / 0.7887 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3048, allocations: 0 / 0.7887 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.3049, allocations: 4 kB / 0.7887 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.305, allocations: 7.984 kB / 0.7887 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.305, allocations: 4 kB / 0.7887 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.673e-05/0.3051, allocations: 102 kB / 0.7888 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3051, allocations: 4 kB / 0.7888 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002489/0.3053, allocations: 20 kB / 0.7889 GB, free: 7.305 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 (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.0002392/0.3056, allocations: 115.2 kB / 0.789 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.3058, allocations: 55.91 kB / 0.789 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3058, allocations: 4 kB / 0.789 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.5e-05/0.3059, allocations: 27.97 kB / 0.7891 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.3063, allocations: 16.75 kB / 0.7891 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.3068, allocations: 218 kB / 0.7893 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.3071, allocations: 0.6965 MB / 0.79 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.038e-05/0.3072, allocations: 4 kB / 0.79 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.3072, allocations: 11.44 kB / 0.79 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.3072, allocations: 0 / 0.79 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of Templates: time 0.003545/0.3108, allocations: 1.013 MB / 0.791 GB, free: 5.102 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)