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.001728/0.001728, allocations: 105.4 kB / 15.7 MB, free: 24 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.001364/0.001364, allocations: 196.5 kB / 16.64 MB, free: 6.449 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.545/1.545, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.762/1.762, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001514/0.001514, allocations: 83.09 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2778, allocations: 114.6 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.004148/0.282, allocations: 2.139 MB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.2841, allocations: 1.043 MB / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.2843, allocations: 0 / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.497e-05/0.2845, allocations: 27.67 kB / 0.7873 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004057/0.2849, allocations: 79.22 kB / 0.7874 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.2855, allocations: 195.6 kB / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.2859, allocations: 290.8 kB / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.2861, allocations: 60.72 kB / 0.7879 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.2863, allocations: 111.5 kB / 0.788 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.2866, allocations: 135.4 kB / 0.7881 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.943e-05/0.2867, allocations: 20 kB / 0.7881 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004899/0.2872, allocations: 303.6 kB / 0.7884 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.2872, allocations: 43.83 kB / 0.7885 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.2874, allocations: 123.2 kB / 0.7886 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004796/0.2879, allocations: 334.8 kB / 0.7889 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2879, allocations: 7.938 kB / 0.7889 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2879, allocations: 0 / 0.7889 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.2879, allocations: 0 / 0.7889 GB, free: 7.793 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.001132/0.2891, allocations: 0.6232 MB / 0.7895 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2891, allocations: 12.03 kB / 0.7895 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002248/0.2893, allocations: 44.55 kB / 0.7896 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.2897, allocations: 279.5 kB / 0.7898 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.2898, allocations: 16.66 kB / 0.7898 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.2898, allocations: 20.11 kB / 0.7899 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005215/0.2903, allocations: 236.2 kB / 0.7901 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2903, allocations: 0 / 0.7901 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.2904, allocations: 8 kB / 0.7901 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.2904, allocations: 4 kB / 0.7901 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006078/0.291, allocations: 195.7 kB / 0.7903 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.2921, allocations: 0.9306 MB / 0.7912 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007733/0.2929, allocations: 245.1 kB / 0.7914 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.2932, allocations: 101.6 kB / 0.7915 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.2932, allocations: 8.297 kB / 0.7915 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.2933, allocations: 42.5 kB / 0.7916 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.2933, allocations: 0 / 0.7916 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001147/0.2944, allocations: 333.6 kB / 0.7919 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.2945, allocations: 81.11 kB / 0.792 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.2948, allocations: 270.9 kB / 0.7922 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.2948, allocations: 25.7 kB / 0.7923 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.2949, allocations: 164.2 kB / 0.7924 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.295, allocations: 63.14 kB / 0.7925 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/0.295, allocations: 37.7 kB / 0.7925 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.2952, allocations: 338.8 kB / 0.7928 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.2955, allocations: 87.91 kB / 0.7929 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.2958, allocations: 141 kB / 0.7931 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006259/0.2964, allocations: 241.8 kB / 0.7933 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2965, allocations: 7.938 kB / 0.7933 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007863/0.2972, allocations: 297.1 kB / 0.7936 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.2973, allocations: 8 kB / 0.7936 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2973, allocations: 4 kB / 0.7936 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2973, allocations: 0 / 0.7936 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.2976, allocations: 63.88 kB / 0.7936 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.2976, allocations: 4 kB / 0.7936 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.2978, allocations: 39.72 kB / 0.7937 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.2979, allocations: 12 kB / 0.7937 GB, free: 2.562 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.0001186/0.298, allocations: 138.4 kB / 0.7938 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.2981, allocations: 27.66 kB / 0.7939 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007655/0.2989, allocations: 283.2 kB / 0.7941 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.2989, allocations: 4 kB / 0.7941 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2989, allocations: 0 / 0.7941 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2989, allocations: 0 / 0.7941 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.2993, allocations: 297.3 kB / 0.7944 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2993, allocations: 7.938 kB / 0.7944 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.2995, allocations: 47.95 kB / 0.7945 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2995, allocations: 4 kB / 0.7945 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.2996, allocations: 12 kB / 0.7945 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2996, allocations: 3.984 kB / 0.7945 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2996, allocations: 0 / 0.7945 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008031/0.3004, allocations: 445.1 kB / 0.7949 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.371e-05/0.3005, allocations: 108.7 kB / 0.795 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.3005, allocations: 7.922 kB / 0.795 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.3008, allocations: 27.97 kB / 0.795 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.3009, allocations: 19.97 kB / 0.7951 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.3009, allocations: 8 kB / 0.7951 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001781/0.3011, allocations: 190 kB / 0.7953 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.593e-06/0.3011, allocations: 0 / 0.7953 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003616/0.3015, allocations: 56.19 kB / 0.7953 GB, free: 0.8086 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.0002385/0.3017, allocations: 115.2 kB / 0.7954 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007132/0.3024, allocations: 227.7 kB / 0.7956 GB, free: 476 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3024, allocations: 0 / 0.7956 GB, free: 476 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.3028, allocations: 124.2 kB / 0.7958 GB, free: 352 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.3034, allocations: 81.42 kB / 0.7958 GB, free: 268 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008213/0.3042, allocations: 445.9 kB / 0.7963 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.3045, allocations: 0.7519 MB / 0.797 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.3047, allocations: 26.28 kB / 0.797 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.3048, allocations: 27.44 kB / 0.797 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.3048, allocations: 0 / 0.797 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of Templates: time 0.007378/0.3122, allocations: 3.958 MB / 0.8009 GB, free: 11.09 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)